Last active
August 29, 2015 14:07
-
-
Save katopz/285b0a98056c9ad86343 to your computer and use it in GitHub Desktop.
[FB] Post to page by admin
This file contains 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
Post to page by admin | |
--- | |
* user get access_token with manage_pages from app | |
https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&display=touch&response_type=token&scope=manage_pages&redirect_uri=YOUR_REDIRECT_URI | |
* user get access_token from page id | |
https://graph.facebook.com/YOUR_PAGE_ID?fields=access_token&access_token=YOUR_ACCESS_TOKEN | |
* get log live access_token (2 months) | |
https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&grant_type=fb_exchange_token&fb_exchange_token=YOUR_ACCESS_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment