MohammedRaji / react-ig-feed

A React component to display a user's Instagram photos Using Instagram Basic Graph API
https://mohammedraji.github.io/react-ig-feed/
MIT License
43 stars 23 forks source link

Error "the access token is not valid" #7

Closed LauraApetroaeiJcrew closed 2 years ago

LauraApetroaeiJcrew commented 2 years ago

This worked amazingly fine until a few days ago, when my client pointed out that instead of the feed he sees the message "the access token is not valid".

Did Instagram change anything in their API or something that could cause this? Can someone help, please? I would appreciate it.

PS: visit https://mohammedraji.github.io/react-ig-feed/ and in the Demo section you can see the same error message instead of the demo.

Screenshot 2022-01-17 at 15 18 45

UPDATE: Just now I generated a new token, updated it in my app and the feed is working as it should. I missed the 60 days limit, my bad.

jeffceriello commented 2 years ago

Hi, how have you resolved the 60 days limit?

MohammedRaji commented 2 years ago

Hi, how have you resolved the 60 days limit?

please visit facebook developers site for more information

jeffceriello commented 2 years ago

Hi thank you for your reply. I'm sorry but I'm not sure what to do there. How can I refresh the access token with the react-ig-feed module?