【问题标题】:Get posts by hashtag in Instagram API在 Instagram API 中按标签获取帖子
【发布时间】:2016-01-21 01:10:29
【问题描述】:

我试图找到答案但没有成功。

我有一个网站,可以显示所有基于主题标签的 Twitter 推文和 Instagram 帖子。

在 Twitter 中,我验证了无用户身份,因为我只想显示来自主题标签的所有推文。

问题出在 Instagram,我已经签名并且正在检索以下帖子:

https://api.instagram.com/v1/tags/{tag}/media/recent?access_token=xxx

但问题是它只从我的帖子中检索标签,而不是我希望它在 Instagram 世界中搜索。

有可能吗?

【问题讨论】:

    标签: instagram-api


    【解决方案1】:

    它确实会检索 instagram 帖子(instagram 中的所有帖子,前提是帖子的隐私设置为公开)。我已经在 Windows Store Application (C#) 上的开源 Instagram Hashtag Feed 应用程序中成功地做到了这一点。它的工作原理与在 instagram 中使用主题标签进行搜索完全一样。

    https://github.com/ShiChuanTaylors/InstaFeed/blob/master/OrientationFeed/InstagramFeed.xaml.cs

    希望代码可以提供帮助。 :)

    【讨论】:

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