Access token is being expired after one hour as it is also mentioned in API documentation. It is not convenient for the users to authorize again after every hour.
Please let me know if there is any other way to get long-lived tokens or refresh the token.
Documentation reference is below: https://developers.facebook.com/docs/instagram-basic-display-api/overview
Thank you
You can now get long-lived Instagram User Access Tokens which are valid for 60 days and can be refreshed. Please note that long-lived access tokens are currently in Beta.
Ref: https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With