Privliages on test app - facebook

Hey guys i have developed a facebook app which uses the permission read_mailbox.When i coded my app and used the app it says the app neeeds to be reviewed for getting the permission read_mailbox.I have submitted my app for review.But i didnt get review after 2 days ..I cant wait anymore ..I have made a test app and when i used that it says the same thing..I have heard that using the test app will have all the privliages.Is it true ??..Or the test app work only if facebook approve the permission ??..
Hope you guys can help me out ...Thanks

The code here (http://pastebin.com/8MLfiQRC) works like a charm for me.
You wrote
<fb:login-button scope="public_profile,email,read_maillist" onlogin="checkLoginState();">
instead of
<fb:login-button scope="public_profile,email,read_mailbox" onlogin="checkLoginState();">
If the Permission dialog pops up, just click on ok (http://imgur.com/AyOZUhf).

Related

Facebook SDK - Open Graph - Share Dialog post button greyed out - error code 102

I'm following the tutorial for Publishing using the Share Dialog on the Custom Stories in iOS section.
https://developers.facebook.com/docs/ios/open-graph
When I want it too, it switches to the Facebook App, the Graph Object is presented to the user (image, title etc) for a few seconds and then disappears and Post button greys out. If I tap the Post button before it greys out, I get an error message logged:
Error publishing story: Error Domain=com.facebook.Facebook.platform Code=102
"The operation couldn’t be completed. (com.facebook.Facebook.platform error 102.)"
UserInfo=0x16d48640 {error_code=102, app_id=1435110413425124,
error_message=An error occurred during publishing.}
FYI, the standard share dialogue presentShareDialogWithLink:handler: is working fine and letting me post - it's just when I present one with a Graph Object attached to it.
I would post sample code, but it'm using the same code that's in the tutorial above. Besides, I'm pretty sure this is to do with settings in the App Dashboard, not the code I'm writing.
Per this question on Stack Overflow Facebook SDK - iOS - Fail to share URL (Error 102), I've confirmed that:
My App's Settings are set correctly in App Dashboard (including iPhone Store ID and Bundle ID)
By info.plist file is configured correctly.
This question facebook error code 102 with sdk 3.6 suggested using a real Facebook user who was an administrator of the app. I tried that, but the problem still occurred for me.
I also tried it with the App published, and with it unpublished and there was no difference.
I'm wondering if anyone else has any ideas for things I haven't checked yet?
I'm a numpty.
Despite the fact I said I'd checked the settings were correct in App Dashboard, I had misspelt the Namepsace.
If your Facebook app status is "development and unavailable to the public" will caused same result.
You may want to change it to public under "App Review" on the Facebook app menu. Or you need to login Facebook as role "Administrators", "Developers" or "Testers"

Bug in facebook single sign on in ios6

Bug in facebook single sign on in ios6
Please check the above image. Whn i click on cancel it's not going back to the app instead it's stays in facebook itself. This is happening only in iOS6. In iOS5.1.1 it's working perfectly. Please help!!!
Thanks...
You should submit your bug to Facebook and provide as much detail as possible (including some sample code) https://developers.facebook.com/bugs/create
User after pressing cancel in FB app when comes back to your app manually, your handler will be called with status as FBSessionStateClosedLoginFailed. So check for this status and raise proper error message or try opening the session again.

Can´t add new App via my App Community page. there is no link at all

Created a new App, created a new Fanpage for this App but if i click on "view my app profile page" it says that this page was not found. Other strange thing, if i click the link in the modal window where it says "The #NameOfMyApp Community page has been created and connected with this app." I´ll be redirected to my App Community page but there is no link where can add this app to my main Page. I´ve done this several times with several apps for the last few months, always the same way - worked like a charm. What´s wrong now?
This is temporarily "broken". Facebook has removed profile pages from new apps and replaced it with a add to page widget which is not yet available unless you manually install it somewhere. Very unintutive, but perhaps this will help: http://www.addtab.info/

Problem running DemoApp in facebook-ios-sdk

I downloaded the Facebook IOS SDK from http://github.com/facebook/facebook-ios-sdk, and tried to run the sample/DemoApp. All functions seemed to run fine, except that I couldn't publish a stream. The FB dialog (FB box with blue border) just showed that my FB app has a problem.
In the XCode proj, I only filled-in my FB app-id to the DemoAppViewController.m, and DemoApp-Info.plist.
By printing out the URL that the FB dialog actually accessing, I found that the last URL contains the following as the query string (sorry that I didn't have the Mac right now, so everything is from my memory):
error=Invalid+user+id
Has anyone run the demo and succeeded in publishing a stream?
Am I missing anything?
Thanks.
Seems that there was a problem with FB server. I tried again today and the feed could be published successfully.

iPhone SDK: Loading Facebook Connect Login View before everything else

I have a full iPhone application done but I now want to add Facebook Connect. My question is how to load a new/separate view that only has the Facebook Connect button. I need it to be that the only way they can get into the app is for the Facebook login to be successful. If there is a current active Facebook session then this will no longer load the next time they launch the app.
Where do I begin with the code to put into my AppDelegate?
hey guys if u r facing any prob in Facebook API to connect/login on Facebook then check out this blog.... it will help u alot....
http://viksiphoneblog.blogspot.com/search/label/FBConnect%20API%20for%20Facebook%20Integration
I am also working for the same issue discussed above n I m abt to complete it... in a few days/ hours...
regards,
Vivek Sharma
India
Try to google FacebookAgent...This way, you get the typical pop-up for Facebook to login