0

I want to get the count of recent unfollowers from my Instagram account. I have been googling around the internet but could not find the solution. I want to write the PHP script using Instragram API to perform this task. How can I achieve this. Please help me out.

iammurtaza
  • 957
  • 3
  • 16
  • 31
  • it's not in the api but look at this stack overflow question http://stackoverflow.com/questions/23090178/instagram-follower-count-using-jquery-json-php – Rachel Gallen Jun 23 '14 at 14:11
  • Follow this answer work for me http://stackoverflow.com/questions/14414606/getting-basic-information-from-instagram-using-php/31812442#31812442 – Wasim A. Aug 04 '15 at 14:48

2 Answers2

1

You can't get that data from API... the only way to do that is:

1 - Get all followers from API and store in your local database some days before 2 - Get all followers from API again and: 2.1 - Compare with your local database 2.2 - See what users starts to follow (not in local database yet) 2.3 - See waht users unfollow you (in local database but not retrieved via API)

It's not glamorous, but will work fine!

Tiago Gouvêa
  • 15,036
  • 4
  • 75
  • 81
1

You can use API. https://github.com/criexe/api/wiki/Social-Networks-Page-Stats-API

GET https://api.criexe.com/social/pageStats?instagram=microsoft

{
   "instagram":{
      "user":"microsoft",
      "followers":1423870
   },
   "total":1423870
}