-
Notifications
You must be signed in to change notification settings - Fork 855
Managing Access Tokens
Ben edited this page Mar 30, 2020
·
5 revisions
The Instagram Basic Display API requires access tokens be refreshed at least every 60 days. You can't create a token and paste it into your Instafeed option anymore - it will stop working when the token expires. Instafeed.js needs to be paired with a service which will keep your access token fresh. There are various ways to do this, depending on your skill level and environment.
A free, set-and-forget option is Instagram Token Agent, an app which can be deployed to the Heroku hosting platform with a couple of clicks.
You'll also need to set up a Facebook app to get your initial access token:
- Follow steps 1 - 3 here: Facebook Basic Display API guide
- Use the User Token Generator to create a starting access token.
- Deploy the Instagram Token Agent app, providing the starting token
- Follow the token agent's instructions to make the token value available to Instafeed.js in your website.