Skip to content

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.

Instagram Token Agent

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:

  1. Set up your Facebook app and test user token
  2. Follow the instructions to deploy the Instagram Token Agent app, providing the starting token
  3. Follow the token agent's instructions to make the token value available to Instafeed.js in your website.

Next: Adding Instafeed.js to your web page

Clone this wiki locally