Created
September 8, 2016 04:44
-
-
Save tuphamphuong/45dabb875220ecec3d11252a1874f51f to your computer and use it in GitHub Desktop.
RestFb get extended Facebook token
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FacebookClient facebookClient = new DefaultFacebookClient(token, secretKey); | |
FacebookClient.AccessToken extendedAccessToken = facebookClient.obtainExtendedAccessToken(appId, secretKey, token); | |
String extendedToken = extendedAccessToken.getAccessToken(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment