Describe how to renew long lived Instagram Access Token. This is not meant to be an overall step-by-step guide on getting Instagram API to work in Sitecore, but rather it's designed to be a quick reference on renewing Instagram Long Lived Access Token.
Set up a workspace in postman if you have not already. It should look like the picture below.
Fill in the root URL: https://graph.instagram.com/refresh_access_token.
Fill in the KEY column: access_token and grant_type. In the VALUE column, use your current access token for access_token, and 'ig_refresh_token' for grant_type like so:
Now press 'send'. If the result you get is something similar to this, the API call was successful.
Now you just need to update this access token in your application. Note that this access token lasts 60 days. Additionally, your previous access token is still valid and can be used until its original expiry date.
Sign up to our bi-weekly newsletter for a bite-sized curation of valuable insight from the Sitecore community.