Instagram users / self / feed 404 errorcode

I am trying to get information about media files with the following API (using the JInstagram library):

https://api.instagram.com/v1/users/self/feed?access_token={valid access_token}

The response code is 404. I'm not sure what I am missing, since the access_token is valid, the API is specified in Ruby , but it cannot be found on the development website.

I see that on this site there is a 404 error for feeds, but this is not the same API.

+4
source share
1 answer

Instagram has changed its policy and also outdated some APIs. Check out the link below.

https://instagram.com/developer/changelog/

Old API

https://api.instagram.com/v1/users/self/feed?access_token= {valid access_token}

Use the below API instead of the above

https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN

+3

Source: https://habr.com/ru/post/1617196/


All Articles