One hour is nice, but 60 days is better.
Instagram said Tuesday that long-lived access tokens are now available for the Instagram Basic Display API (application-programming interface).
Software engineer Muyuan Liu said in a blog post that when the Instagram Basic Display API debuted last October, user access tokens were only valid for one hour, but developers can now exchange them for long-lived access tokens that are valid for 60 days.
More information is available here.
Liu also reminded developers that, as initially revealed last October, the final permission from the Instagram Legacy API Platform, Basic Permission, will be disabled March 2, and all developers are encouraged to apply for permissions to the Instagram Basic Display API via the Instagram Graph API Platform, as well as to migrate Legacy API calls prior to March 2.
He wrote, “Instagram Basic Display API is not an authentication tool. Data returned by the API cannot be used to authenticate your application users or log them into your app. If your app uses API data to authenticate users, it will be rejected during App Review. If you need an authentication solution, please use Facebook Login instead.”