-
Notifications
You must be signed in to change notification settings - Fork 847
Managing Access Tokens
Ben edited this page Mar 30, 2020
·
5 revisions
The Instagram Basic Display API requires access tokens to be kept refreshed at least every 60 days. This means that Instafeed.js needs to be paired with a service which will keep your access token fresh - this is a small piece of software that runs on a server, periodically updating your token, and providing it to Instafeed.js in the browser.
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.
- Provide the starting token to the token agent service.
- Follow the token agent's instructions to make the token value available to Instafeed.js in your website.