Open dajreamdigital opened 7 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.
Hi guys! Is this project dead by now?
@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.
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.