New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid session due to no expiration date #40
Comments
Yep, I've got the same issue today too.... I even went to my facebook account, deleted the app from the profile, and then tried it again. After accepting the requested permissions, I still get a nill returned for expirationDate in Strange as I have been using this OK for a few weeks now without any major issues. Chris |
Must be an issue with the Facebook API, I couldn't actually find any documentation of an expiration date being returned. It may also be due to the offline_access permission being request, no expiration being sent instead of zero. For a temporary fix, I set expirationDate like: in - (void) dialogDidSucceed:(NSURL*)url - FBLoginDialog.h and commented out the rest of the expirationDate set. |
yep, and we are not alone: Seems like they have screwed something up and is causing issues for lots of people. |
Thanks for the reports, we're working on this now. |
Hi! Is there another way to fix this? Because I can't go on with the developing of my app. |
A request made to https://graph.facebook.com/oauth/authorize wasn't returning any expires_in parameter, which resulted in expirationDate being nil and the isSessionValid method returning false.
This caused all of my calling methods to fail.
I couldn't work out if this was an issue with Facebook or the SDK.
The text was updated successfully, but these errors were encountered: