【问题标题】:Instagram API - Missing values from request /tags/xxx/media/recentInstagram API - 请求 /tags/xxx/media/recent 中缺少值
【发布时间】:2013-10-14 17:07:49
【问题描述】:

这很奇怪。对 /tags/chiara8anos/media/recent 的请求工作正常。

问题是个人资料是公开的 (http://instagram.com/chiaratroccoli),我可以获取除此 http://instagram.com/p/fYtRx0Qvit/ 之外的所有图像。

API 未返回此特定帖子,但主题标签 #chiara8anos 正确存在,如您所见。所以请求 /tags/chiara8anos/media/recent 应该有这个。

我注意到图像不像以前那样在亚马逊存储桶上。这个具体的图片在这里:http://distilleryimage9.ak.instagram.com/4852dfbc339711e3817122000ab5bea8_8.jpg

如果您尝试使用 api-console (http://instagram.com/developer/api-console/) 处理此请求 https://api.instagram.com/v1/tags/chiara8anos/media/recent,即使分页,您也无法获取此帖子。

这是一个错误吗? Instagram的一些限制?

【问题讨论】:

  • 我无法解释为什么它没有出现在 api 搜索中,但我看到 distilleryimagex.ak.instagram.com 提供了很多图片。
  • 此外,这张图片也不会从使用 Instagram 应用程序的主题标签搜索中显示出来,因此它不仅仅是公共 API。
  • 您看到的来自 ak.instagram.com 的图片来自 profile_picture,对吗? (例如 - “profile_picture”:“images.ak.instagram.com/profiles/anonymousUser.jpg")我说的是standard_resolution图像(例如 - “standard_resolution”:{“url”:“distilleryimage6.s3.amazonaws.com/…
  • 不,我说的是 612x612 分辨率的媒体图像。其中许多来自 distilleryimage.ak.instagram.com。

标签: api instagram


【解决方案1】:

如果您检查 /users 端点,该图像将正确返回并且具有标准分辨率:http://distilleryimage9.s3.amazonaws.com/4852dfbc339711e3817122000ab5bea8_8.jpg

这是通常的 AmazonAWS URL 这是端点:https://api.instagram.com/v1/users/605729285/media/recent?access_token=

但你说得对,图像不是使用 /tags 端点返回的。对我来说,这看起来像是一个 Instagram 错误。

【讨论】:

  • 是的,使用 /users 端点我在那里看到了图像。这就是为什么在访问用户的个人资料时我可以看到它(instagram.com/p/fYtRx0Qvit)。我认为它是一个错误。我还在 instagram-api-developers 上开了一个帖子,但没有人回复。
  • 我遇到了同样的问题。试图联系 Instagram,但也没有任何回应。此搜索 instagram.com/explore/tags/glamboxcat 不会同时返回 this instagram.com/p/BB5lq6RwRt9 和 this ,API 也不返回。
猜你喜欢
  • 2016-12-26
  • 1970-01-01
  • 2016-02-24
  • 2016-08-25
  • 2014-01-04
  • 1970-01-01
  • 1970-01-01
  • 2020-08-10
  • 2023-03-08
相关资源
最近更新 更多