【问题标题】:using the Instagram API, can i display get all posts from a specific location?使用 Instagram API,我可以显示从特定位置获取所有帖子吗?
【发布时间】:2016-05-15 02:57:55
【问题描述】:

您好 Instagram 开发者, 我想获取我们所在位置的所有 instagram 帖子的提要(发布与我们在一起的照片的客人)。不幸的是,使用 API,除了我自己的用户之外,我无法获得任何其他帖子,这显然不是我想要的……有什么办法吗?

使用php集成

感谢您的帮助 浮动

【问题讨论】:

  • 欢迎来到 Stackoverflow!该站点是为像您这样的用户设计的,可以就您编写的代码所遇到的特定问题提出问题,以便我们帮助您解决问题。如果您还没有写任何东西,请去尝试一下,如果您有问题并且已经无法在网上找到任何帮助,请回来。请看How to ask

标签: php instagram


【解决方案1】:

您可以使用您企业的位置 ID 查询 Instagram API,如下所示: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/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多