How can I extend a facebook long lived (still valid about to expire) token on Android platform?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To extend a token, call
extendAccessTokenIfNeededto extend the current access token. However, this only works if the user has the native Facebook for Android app installed. If the user does not have the native Facebook app installed, our SDK currently does not support extending access tokens.To do it manually, you have to write your own networking code to issue a request to
and parse the response for the new access token.
Our documentation for this issue is found here: https://developers.facebook.com/docs/mobile/android/build/#extend_token