简体   繁体   中英

Instagram API sandbox - display by hashtags

I am trying to develop an Instagram feed based off one hashtag for a website. This hashtag only needs to be searched on one Instagram account. I have been trying the following endpoint:

https://api.instagram.com/v1/tags/christielakecamp/media/recent?access_token=xxxxxx&count=9

.. but I get the following error back:

{"meta": {"code": 400, "error_type": "OAuthPermissionsException", "error_message": "This client has not been approved to access this resource."}}

My "app" is currently in sandbox mode, and I've read that I need access to the "public_content" permission in order to do this. When I go to submit my app for review I select what I want to do with it:

I want to display hashtag content and public content on my website.

I get this back:

This use case is not supported. We do not approve the public_content permission for one-off projects such as displaying hashtag based content on your website. As alternative solution, you can show your own Instagram content, or find a company that offers this type of service (content discover, moderation, and display).

Does this mean that I can't display info from my own feed based on hashtags?

您可以从自己的帐户中显示主题标签,必须使用帐户中的access_token ,并且如果只需要您的内容,则不需要public_content权限。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM