【发布时间】:2013-10-15 23:55:25
【问题描述】:
Instagram API 的文档确实没有那么完善。
有谁知道我可以按位置找到(当天)最受欢迎的 Instagram 照片的方法吗?比如,今天大多数丹麦人喜欢什么样的照片……
谢谢!
【问题讨论】:
标签: javascript php json instagram
Instagram API 的文档确实没有那么完善。
有谁知道我可以按位置找到(当天)最受欢迎的 Instagram 照片的方法吗?比如,今天大多数丹麦人喜欢什么样的照片……
谢谢!
【问题讨论】:
标签: javascript php json instagram
如果你知道你想要的位置 ID,你应该能够使用位置获取热门照片
https://api.instagram.com/v1/locations/{location-ID}/media/popular?MIN_TIMESTAMP={UNIX timestamp for beginning of day}&access_token={access token}
您可以使用位置/搜索查询来搜索位置 ID,如下所示:
https://api.instagram.com/v1/locations/search?lat={latitude}&lng={longitude}&access_token={access token}
在这两个 URL 中,{} 表示您需要定义的变量。
【讨论】: