Even though Instagram access tokens do not specify an expiration time, you should handle the case that either the user revokes access, or Instagram expires the token after some period of time. If the token is no longer valid, API responses will contain an “error_type=OAuthAccessTokenError”.
Instagram Access Token doesn’t normally expire at all, but you need to detect when they do and repeat your manual procedure to get a new one.
In this case, you will need to re-authenticate the user to obtain a new valid token.
Updated on