Created
January 20, 2015 10:49
-
-
Save ssinss/fb6d292ce52815b4220c to your computer and use it in GitHub Desktop.
get extended facebook 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
import facebook | |
SHORT_ACCESS_TOKEN = "SHORT_ACCESS_TOKEN" | |
APP_ID = "APP_ID" | |
APP_SECRET = "APP_SECRET" | |
graph = facebook.GraphAPI(SHORT_ACCESS_TOKEN) | |
extended_access_token = graph.extend_access_token(APP_ID, APP_SECRET) | |
print extended_access_token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment