-
Notifications
You must be signed in to change notification settings - Fork 5
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
croak 'expires is not returned' #5
Comments
Thanks for adding an issue, @brunnock. I apologize for your inconvenience and I'll definitely look into this. I thought expires was always given along with user access token, but I might be missing some spec. change. Just to be sure could you give me some more details including following items?
Thanks |
Unversioned. The app was registered before 4-30, but was just approved last night (2014-5-9). The code param is returned via URI. |
Thanks, @brunnock. As I understand Facebook Platform's versioning system, as long as you use unversioned API/Dialog with app registered before 2014-04-30, your app's version is default to v1.0.
I looked up v1.0 document for /oauth/access_token endpoint and it states as follows:
So if it works following this spec, expires must be returned. I hope it helps you and let me know when you have any progress. |
Quick question, @brunnock. Is your app requesting some permissions for Facebook Page management or Ads management, such as manage_pages? |
Yes. It does request manage_pages. |
Thanks, I got the picture. I'll be working on this. |
I confirmed the edge cases that user access tokens become ones w/ no expiration time. They describe it is not an intended behaviour, but it occurs because of the side effect of how they link page access token to its owner's access token. https://developers.facebook.com/bugs/597779113651383/ Now, as of version 1.22, this module does not check the existence of expires parameter. |
Thanks! |
I had to comment out this line in get_user_token_by_code (#207).
It seems Facebook is returning a valid token without an expiration for me.
The text was updated successfully, but these errors were encountered: