How to get an extended Facebook App Access Token
> From the Graph Api Explorer dropdown choose YOUR-APP-NAME
> From the Get Token dropdown choose Get User Access Token
> Enable manage_pages and publish_pages in the new popup
> Click OK on the next popup
> Open Get Token dropdown again and under Page access tokens select YOUR-PAGE-NAME
> Copy the new Access token from the field. This access token is valid 1 hour only. The ID in the grey field below is your page id.
> Paste the 1 hour token and click on Debug
> Click Extend Access Token button in the new screen
You now have the new 2 months valid access token
I use this method to generate access token for my bot that posts random gifs directly to a Facebook page. You can get the bot here: gum.co/gif-bot
Thanks, and click the ❤ button if this tutorial helped you.