companionstudio / instagram-token-agent

A service to keep your Instagram Basic Display API token fresh.
MIT License
133 stars 70 forks source link

Token Invalidated #35

Open Jetroid opened 3 years ago

Jetroid commented 3 years ago

Hi All,

I'm using instagram-token-agent with Instafeed.

It's about two months after I set up my application. It has been working but has now stopped working and I see a message like this in the console when viewing the page with the instagram feed:

instafeed.js:348 Error: api request error: 190 Error validating access token: Session has expired on Tuesday, 05-Jan-21 10:40:11 PDT. The current time is Sunday, 24-Jan-21 09:16:56 PST.

When I look at my instagram-token-agent herokuapp, I see this:

2021-01-24-174811_789x483_scrot

...this is despite it working before.

I logged into developer.facebook.com and saw a notification that could be summarised as "API access has been revoked due to inactivity. Tokens have been invalidated". I don't know the exact message because there was a shiny "restore access" button that I clicked without thinking.

In my "alerts" on developer.facebook.com, I see this, which might be :

Due to inactivity, Graph API access for [My App Name], has been deactivated. If you restore access, your app will be limited to using the latest and future versions.
If you no longer use this app to access Graph API, no action is required.

This issue may be related to #5.