Instagram的API:我想根据标签来获得最近的图像,但我只收到我自己

问题描述:

我想用 Instagram的API 根据特定的标记,以获取最新的图像。

I want to use Instagram API to get the latest images based on a specific tag.

当我使用:

https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN

我只收到我的用户已经使用该标记创建的映像。我想所有的图象,不只是我自己。难道应该这样做?

I only recieve the images that my user has created with that tag. I want to get all tagged images, not just my own. Is it supposed to do that?

当我尝试:

https://api.instagram.com/v1/tags/{tag-name}?access_token=ACCESS-TOKEN

然后,它的工作原理,我得到不只是我自己的图像数据。结果
任何帮助将是真棒!

Then it works and I get statistics from not just my own images.
Any help would be awesome!

您在沙盒模式,所以它会从你的沙盒授权用户只返回媒体,这里是这方面的信息:

You are in Sandbox mode, so it will return only media from your sandbox authorized user, here is information about this:

作为另一实例,让我们考虑一个返回的列表的端点
  媒体:/标签/ {标签名称} /媒体/新。此返回响应
  端点将只包含媒体与给定的标签,符合市场预期。但
  而不是从任何公开的Instagram用户返回的媒体,它会
  回到属于你的沙箱用户只媒体,仅限于
  为每个用户在过去的20

As another example, let's consider an endpoint that returns a list of media: /tags/{tag-name}/media/recent. The response returned by this endpoint will contain only media with the given tag, as expected. But instead of returning media from any public Instagram user, it will return only media that belongs to your sandbox users, restricted to the last 20 for each user.

下面是关于沙盒模式的链接更多的细节: https://www.instagram.com/开发商/沙箱/

Here is the link to more details about Sandbox mode: https://www.instagram.com/developer/sandbox/

在您的应用程序获得批准后,你会看到所有的媒体。

Once your app is approved, you will see all media.