Search code examples
instagraminstagram-api

Renewing User Access Token using Instagram Basic Display


From the looks of the Instagram Basic Display API docs, it looks like both the auth code and access token expire after 1 hour. Is there any way to renew the access token without requiring the user to log in every time?

Link to relevant docs: https://developers.facebook.com/docs/instagram-basic-display-api/overview


Solution

  • Support for Long-Lived Access Tokens has been added to the Basic Display API.

    Here is the documentation: https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens