I am trying to write an Instagram app which among others will let me get media based on a hashtag.
I already finished it, and only then noticed this message from Instagram in the developer page.
Starting 10/1/2017, all permissions other than the basic permission will be unavailable to submit for or obtain.
Query by hashtag needs the public_content permission.
Looks like this is not possible anymore.
Are there any other options? I tried to look for similar functionality with Facebook graph api but didn’t find anything interesting.
3
Answers
Id love to know about this as well, we have been developing and didnt know about the cut off to these permissions. Looking for a solution to retrieve public images based on a hashtag.
Following!
Try this PHP library:
https://github.com/postaddictme/instagram-php-scraper
or Java library:
https://github.com/postaddictme/instagram-java-scraper
Example:
https://github.com/postaddictme/instagram-php-scraper/blob/master/examples/getMediasByTag.php
According to the blog post on facebook, they will be deprecating public content apis on December 11, 2018.
https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api-updates/
I also didn’t find anything on the graph api for this use case so it looks like you will be out of luck.