Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there still a way to fetch instagram feed without using access token now (06/2016)?

Tags:

I have an issue that my Instagram API access token keeps expiring frequently and I red the document and understood that although the token wouldn't expire generally, Instagram may decide to expire a token any time for any security reason or whatever reasons.

I know that when it expires, I need to set up an authentication process and request for a new token and all those of things. But the problem is that my app is just retrieving my own feeds to show on my own website, once the token expires it doesn't make sense to set up such a process, the only thing I can do is to manually retrieve and update the token in my code.

So I was wondering if there is still a way to get feeds without using access token as I am just pulling in my own feeds. Or is there any other way I can solve this issue?

Thanks for your help.

like image 851
Ryan Avatar asked Jun 17 '16 07:06

Ryan


People also ask

Do Instagram access tokens expire?

Refreshed tokens are valid for 60 days from the date at which they are refreshed. Tokens that have not been refreshed in 60 days will expire and can no longer be refreshed. Long-lived access tokens for private Instagram accounts can now be refreshed.

Is there a way to pull an Instagram feed with PHP without logging in?

Yes you can. You don't need to login or access_token to get the latest 20 posts.


Video Answer


1 Answers

https://www.instagram.com/anyuser/media stopped working today. You can use https://www.instagram.com/anyuser/?__a=1 instead.

like image 120
John Codeos Avatar answered Oct 11 '22 04:10

John Codeos