Step by Step getting the long page token for Facebook (90 days)
Here I will mention the way to get the token for Facebook Page
First of all try to check if you have crruent token and see when it will be expired by this link
Now the first step is to get the user token
- open this link https://developers.facebook.com/tools/explorer/, then login using your credential and ask to have page access token
- this token will be the short token which will allow us to ask for a long token which can last until 60 days
- Now using this URL you can get the long token (https://graph.facebook.com/oauth/access_token?grant_type=fb_exchange_token&client_id={client_id}&client_secret={client_secret}&fb_exchange_token={short-token})
- replace tge ClientId and Client secret of your APP
- If you do not have an APP you need to create a new one from this link https://developers.facebook.com/apps/