You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long-lived tokens will expired in 60 days. However, I could only find a refreshing method for Instagram Basic Display API but not Graph API. Therefore, we currently have to manually acquire a new long-lived token for every 60 days.
Follow the steps below to get a long-lived token
1. Getting started
https://developers.facebook.com/docs/instagram-api/getting-started
2. Getting a long-lived access token
App secret and app ID are needed to get the long-lived access token. They can be obtained in the basic app settings, and the fb_exchange_token is the temporary access token obtained from step 1.
https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived
Difficulty of refreshing the token
Long-lived tokens will expired in 60 days. However, I could only find a refreshing method for Instagram Basic Display API but not Graph API. Therefore, we currently have to manually acquire a new long-lived token for every 60 days.
This could be a potential way to refresh the access token
https://developers.facebook.com/docs/instagram-basic-display-api/reference/refresh_access_token/?locale=en_US
The text was updated successfully, but these errors were encountered: