Is it possible to get an instagram feed based on both a tag and location?
I want all the images tagged with #stackExchange located in Johannesburg ( and surrounding radius of 100 km )
There is no API to get feed with both tag and location, there are independent APIs for tag and location, but you cannot currently make a single call and get results filtered for both.
Tag API:
https://api.instagram.com/v1/tags/snow/media/recent?access_token=ACCESS-TOKEN
Location search API:
https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=ACCESS-TOKEN
You can make location API call cache and then manually look for tags, but this may be expensive on number of API calls.. here is an implementation of location search and then you can filter by keyword: http://www.gramfeed.com/instagram/map
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With