本文介绍了Instagram新API,按标签获取项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上个月Instagram API已更新,我无法理解如何使用它。

Last month Instagram API was updated and I can't understand how work with it.

例如我想通过标签获取图像nexus5x

我要求 https://api.instagram.com/v1/tags/nexus5x?access_token=access_token

并且回复是

你能解释一下下一步该做什么吗?

Can you explain me what to do next?

我也尝试过最近的项目

https://api.instagram.com/v1/tags/nexus5x/media/recent?access_token=access_token

但是得到这个回复

PS沙盒中的应用程序。

P.S. App in sandbox.

推荐答案

您处于沙盒模式,因此它只返回沙箱授权用户的媒体,这里是信息关于这个:

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

因此,如果您在Instagram中添加带有主题标签的帖子,那么它将显示在api响应中,这是沙盒模式中的限制

So if u add a post in instagram with the hashtag then it will show up in api response, this is restriction in sandbox mode

以下是有关沙盒模式的更多详细信息的链接:

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

这篇关于Instagram新API,按标签获取项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 20:55
查看更多