stevenschobert/instafeed.js

Getting error message on all feeds: site-min.js?ver=5.5.1:4 Error: api request error: 190 Error validating access token: Session has expired on Wednesday, 30-Sep-20 16:51:54 PDT.

dayneh88 opened this issue · 3 comments

Hi,

Is anybody all of a sudden getting a similar error message on all of their feeds:

Error: api request error: 190 Error validating access token: Session has expired on Wednesday, 30-Sep-20 16:51:54 PDT.

We are using Version 2 RC2 and it was all working fine before.

Thanks,
Dayne

Hi,

I´m not sure, but I think if you don´t have the API in live mode, that will happened, I think I was have an similar issue.
What I done was regenerate new token, in my developed API.

but you can check it out here: https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens

sorry if I was not correct

Hey @dayneh88! In the new Instagram Basic Display API, which powers v2 of Instafeed.js, access tokens do have a limited lifespan (60 days).

This means that with v2, you need some mechanism to refresh the access tokens routinely, to keep Instafeed.js working. I'm still working on documenting some of the details, but you can find a couple of potential solutions in the WIP "Managing Access Tokens" document.

stale commented

This issue has been automatically marked as stale because it hasn't had new comments in the last 3 months. It will be closed if no further activity occurs. If you still need assistance with this issue, or believe it shouldn't be closed, please respond with a new comment to let us know.
Thank you all for your contributions.