We show the following procedure to get access tokens that never expire.
- Go to the website: https://developers.facebook.com/apps/.
- Create an application.
- Go to https://developers.facebook.com/tools/explorer.
- Select your application from the Graph API Explorer drop-down menu.
- Click on the Get Access Token button.
- Select permissions from the form.
- In the Access token input field click on the blue exclamation point icon. It will open a pop-up window.
- In the pop-up window, click on Open in Access Token Tool. You will see token details. At this stage the token is valid for around one hour.
- Click on the Extend Access Token button to get a token that will never expire.
You can save the token and use it ...