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
isLongLived #12
Comments
Hey @mcpDeveloper! Did you do a: $token_info = $access_token->getInfo(); Before checking |
Hi so it is necessary to do $token->getInfo() even just after the redirect or the isLongLived() will return false. once again, thanks for your help! |
Unfortunately due to the limitations of v4.0 of the Facebook PHP SDK, when you obtain an access token from a redirect, it only keeps the access token data and not the expire time. But I ported FQB's So yes, until v4.1 of the SDK is released and I can release FQB 2.0, you'll have to call |
Hi i was checking the isLongLived function and realize that from the start return false, so it always extend the token.
i check the expires_at and it issets at 1970
The text was updated successfully, but these errors were encountered: