Once
you selected “Get user access token in the drop down” it will prompt
following pop up . There you can select the permission(scopes) for the
user access token.
Here I have selected “publish pages” and “manager pages” scopes which are need to create non expiry page access token.
Press debug option of user access token of
the app created above. This will take you to the debug tool. Where you
can find all the information of short lived user access token.
In
the bottom there is option to generate long lived(60 days) user access
token for this short lived user access token. Generate long lived user
access token by selecting “Extend Access Token”
b. Paste the long lived user access token generated in previous step inside “Access token” field.
c.
Access “/me/accounts” api . This will result page access tokens and
pages related to them. These page access tokens will never expire(until user change the password/user revoke the app)