使用 Instagram API,我可以显示从特定位置获取所有帖子吗?

using the Instagram API, can i display get all posts from a specific location?

嗨,Instagram 开发者, 我想获取我们所在位置的所有 instagram post 的动态消息(post 图片来自我们酒店的房客)。不幸的是,使用 API 除了我自己的用户,我无法获得任何其他 post,这显然不是我想要的...有什么办法吗?

使用 php

的集成

感谢您的帮助 弗洛

您可以使用您公司的位置 ID 查询 Instagram API,如下所示:https://api.instagram.com/v1/locations/{location-id}/media/recent?access_token=ACCESS-TOKEN

这将 return 您所在位置的最新帖子。

如果您不知道您的位置 ID,它是您在 Instagram 上的位置页面 URL 末尾的数字,例如https://www.instagram.com/explore/locations/222206243/.

有关所含内容的更多信息,请参阅他们的文档: https://www.instagram.com/developer/endpoints/locations/