本文介绍了如何在Instagram上找到当天最喜欢的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Instagram API的记录确实不够完善.
The Instagram API is really not that well documented.
有人知道我可以按位置查找(当天)最喜欢的Instagram照片的方法吗?如图所示,今天大多数丹麦人喜欢什么图片...
Does anyone know of a way where I can find the most liked Instagram photos (of the day) by location? As in, what picture did most Danish people like today...
谢谢!
推荐答案
如果知道所需的位置ID,则应该可以使用
If you know the location ID you want, you should be able to get popular photos by location using
https://api.instagram.com/v1/locations/{location-ID}/media/popular?MIN_TIMESTAMP={UNIX timestamp for beginning of day}&access_token={access token}
,您可以使用位置/搜索查询来搜索位置ID,如下所示:
and you can search for a location ID using the location/search query, like so:
https://api.instagram.com/v1/locations/search?lat={latitude}&lng={longitude}&access_token={access token}
在这两个URL中,
{}代表您需要定义的变量.
in both of these URLs, {} represent variables that you need to define.
参考: http://instagram.com/developer/endpoints/locations/
这篇关于如何在Instagram上找到当天最喜欢的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!