Instagram API 媒体喜欢端点离开喜欢

Instagram API media likes endpoint leaving off likes

我正在尝试通过他们的 API 从 Instagram 上的照片中获得赞,但 API 似乎任意遗漏了一些赞。 I know that it caps the maximum number of media likes at 120, but I'm testing on a piece of media that has 3 likes, but only 1 is returning. Are there limitations on what likes are returned via that endpoint that aren't documented on their developer site?

编辑: 我在已通过审核流程的生产应用中看到了。

如果您处于沙盒模式,那么 API 中只会返回沙盒批准的用户。一旦您的应用经过审核并设置为上线,所有用户都将显示在 API 响应中。

https://www.instagram.com/developer/sandbox/

To help you develop and test your app, the users and media available in Sandbox mode are real Instagram data (i.e. what is normally visible in the Instagram app), but with the following conditions:

  • Apps in sandbox are restricted to 10 users
  • Data is restricted to the 10 users and the 20 most recent media from each of those users
  • Reduced API rate limits