![](/img/trans.png)
[英]Instagram Basic Display API: how can I limit the number of posts to less than 20?
[英]using the Instagram API, can i display get all posts from a specific location?
嗨,Instagram开发人员,我想获取我们位置所有instagram帖子的提要(发布与我们一起住宿的图片的客人)。 不幸的是,使用API只能获得我自己的用户以外的任何其他帖子,这显然不是我想要的...可以采取任何措施吗?
使用PHP集成
感谢您的帮助
您可以使用企业的位置ID查询Instagram API,例如: https://api.instagram.com/v1/locations/{location-id}/media/recent?access_token=ACCESS-TOKEN
://api.instagram.com/v1/locations/{location-id}/media/recent?access_token https://api.instagram.com/v1/locations/{location-id}/media/recent?access_token=ACCESS-TOKEN
这将返回您所在位置的最新帖子。
如果您不知道自己的位置ID,则为Instagram上您的位置页面URL末尾的数字,例如https://www.instagram.com/explore/locations/222206243/ 。
请参阅他们的文档以获取有关包含的内容的更多信息: https : //www.instagram.com/developer/endpoints/locations/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.