While testing integration of the new Facebook API with my iOS app, I removed the app from my Facebook account's app settings, expecting that to force Facebook.authorize() to re-ask the user to grant permission to my app. I encounter error: An error occurred with app_name, Please try again later.
Steps:
Login Facebook via pop up dialog. And it works well.
[fbSession openWithBehavior:FBSessionLoginBehaviorForcingWebView completionHandler:^(FBSession *session, FBSessionState state, NSError *error) { ...}];
I removed the app from my Facebook account's app settings.
Open my app and login facebook again, it encounter error.
And if I click Okay button, it directly to my facebook web. Instead of closing the pop up dialog.