josephfusco / ig-follow-count

:chart_with_upwards_trend: A simple Instagram analytics tool that continuously logs and graphs your follower count.
http://ig-follow-count.jfus.co/
39 stars 11 forks source link

Warning file_get_contents returns 404 error #4

Open dajreamdigital opened 7 years ago

dajreamdigital commented 7 years ago

Hello —

I've just run this excellent script (after following the config and cron instructions). When it is run, it returns this:

Warning: file_get_contents(https://api.instagram.com/v1/users/b9163ce89f3741d09886d334542c0474/?access_token=6b1bfdafadae4dceaf98c011071cf1de): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/dajream19714/public_html/ig-follow-count/includes/functions.php on line 9

Is there an immediate solution to this 404 error?

I apologize, this is the first time I've dealt with the Instagram API and PHP. Any advice or assistance you can offer would be very much appreciated.

josephfusco commented 6 years ago

@dajreamdigital The API might have changed. Thinking about this more and we might be able to get this functionality now without the API which would be ideal with less setup.

dag4rce commented 5 years ago

Hi guys! Is this project dead by now?

pistell commented 5 years ago

@dag4rce I haven't touched this in a while due to Instagram changing things. It used to connect directly to their API but they shut off access to that years ago. I then started scraping the JSON data on the page but apparently their structure keeps changing. I believe it will still work if you just update the key locations for scraping data.