Our Facebook login used to work just fine, so I’m not sure why it’s stopped suddenly.
When I first login I get the user’s details, that works fine. Then it requests the user’s friend’d details, and it shows this error in the xcode console:
FBConditionalLog: handleOpenURL should not be called once a session has closed
The screen is then locked out by a spinner because no result is returned (I’ll have a timeout here eventually to dismiss the spinner, but for now I have to restart the app).
The strange thing is, if I then go back into the app and attempt to login again it works fine. The error message doesn’t appear, and it fetches the friend details. If I then logout of FB and try to log back in, then I’m back to square one.
This is a summary of what is happening:
*Request login
*Successful - returns user name, id etc.
*Request friends
*Error occurs
*Exit (not suspend) app
*Open app
*Request login (I suspect the app is now already logged in, since I didn’t force it to logout before, and it doesn’t switch to the FB app, it just carries on as if it’s already logged in).
*Performs FB requests successfully.
*Logout (return to first bullet point)
Since it all worked before (and still works on Android), I’m not sure what the cause is. This is an update, and the current build on the app store works, and this is the last thing left to fix before submission.
My CFBundleURLSchemes is definitely correct. I am using build 998 for this build, whereas the last build was made using the last stable build (I think).
Any ideas?
[import]uid: 84115 topic_id: 34747 reply_id: 334747[/import]