Created
January 13, 2014 09:18
-
-
Save benrogmans/8397001 to your computer and use it in GitHub Desktop.
Facebook get a long life access 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
1. Get an access_token | |
https://www.facebook.com/dialog/oauth? | |
client_id=XXX& | |
client_secret=XXX& | |
redirect_uri=XXX& | |
scope=publish_stream,offline_access,read_stream,manage_pages& | |
response_type=token | |
2. Get a long lasting access_token | |
https://graph.facebook.com/oauth/access_token? | |
grant_type=fb_exchange_token& | |
client_id=XXX& | |
client_secret=XXX& | |
fb_exchange_token=XXX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment