Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Get Historical Data from Instagram API

I'm making an Instagram analytics web app. I've carefully read all of the Instagram API endpoints and I can't find any way to get historical data (ie, followers over time). All I would need would be something like a date followed, attached to each follower object.

However, there are Instagram analytics sites that offer this, for example, minter.io.

https://minter.io/faq#faq-posting-1

From link above: "Minter.io provides full historical data on Instagram accounts and hashtags except for: Accounts – List of Lost Followers Hashtags – Reach and Exposure In these reports the data will only be available from the date the report is first generated."

An example of this historical data, from minter.io report on my account:

Followers on instagram over time, generated by minter.io

At this point, I think that either:

  1. Minter has some special arrangement with Instagram to get additional data that otherwise isn't provided through API.
  2. I'm missing something..

I understand how this could be done by comparing user data to previous reports (like this SO question asked) but clearly Minter is doing it some other way, because that report was generated from the very first time I created a trial account with them.

Any help would be much appreciated. Thanks in advance.

like image 436
Peter Krieg Avatar asked Dec 02 '15 01:12

Peter Krieg


People also ask

How can I get historical data from Instagram?

Tap or your profile picture in the bottom right to go to your profile. Tap in the top right, then tap Your activity. Tap Account History, to view changes you've made to your account.

What info can you get from Instagram API?

The API can be used to get and publish their media, manage and reply to comments on their media, identify media where they have been @mentioned by other Instagram users, find hashtagged media, and get basic metadata and metrics about other Instagram Businesses and Creators.

Does Instagram API still work?

On the 29th of June, 2020, Instagram will stop using the old API (“Basic Permission”) to display photos from personal Instagram accounts to widgets. 3rd party apps using this, current API will no longer be able to display photos from your account if they don't switch to the new API after this date.


1 Answers

Now Facebook graph API has released the Instagram Insights API which returns detailed insights of Instagram Business accounts.

https://developers.facebook.com/docs/instagram-api/reference/user#insights

Above is for user insights, which has follower count. there are many media insights as well now available under graph API.

Details on how to consume this API is captured in the answer at: How to access Instagram feed of any user with new Graph API?

like image 106
enator Avatar answered Oct 04 '22 01:10

enator