I am currently looking at Instagram feed integration in a web app.
The offical APIs are: Instagram Graph API and Instagram Platform API.
And then I found one endpoint like https://www.instagram.com/instagram/media/
on SO, here and here, which seems an undocumented (at least I haven’t seen it on facebook/instagram document).
It’s publicly accessible and you can get a lot of information about the posts including likes and comments.
So my questions are:
- Is the
https://www.instagram.com/{username}/media/
documented some where? - Is it widely used on the internet?
3
Answers
Its not official API, it may stop working anytime, not a good idea to use in a App. Other Instagram undocumented APIs have stopped working in the past, its good to use for one-off projects but I would not use it in a app/website.
This endpoint has stopped working on November 7 2017. But you can use this other endpoint to get the same results:
https://www.instagram.com/developer/endpoints/users/#get_users_media_recent
I wrote small library on typescript. It doesn’t require access token or client id.The library uses RegExp under the hood. You can get your photos like this: