Instagram的饲料基于标记和地理定位 [英] Instagram feed based on tag and geolocation
问题描述
是否有可能获得基于这两个标签和位置的Instagram的饲料?
Is it possible to get an instagram feed based on both a tag and location?
我要标记位于约翰内斯堡#stackExchange(和100公里半径周围)
I want all the images tagged with #stackExchange located in Johannesburg ( and surrounding radius of 100 km )
推荐答案
有没有API来获取与两个标签和地点饲料,也有标签和位置无关的API,但目前不能使一个单一的电话,得到过滤两种结果。
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.
标签API:
https://api.instagram.com/v1/tags/snow/media/recent?access_token=ACCESS-TOKEN
位置搜索API:
https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=ACCESS-TOKEN
您可以定位API调用缓存,然后手动查找标签,但是这可能是昂贵的在API调用数..这里是位置搜索的实现,然后你可以通过关键字过滤: HTTP://www.gramfeed。 COM / Instagram的/地图
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
这篇关于Instagram的饲料基于标记和地理定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!