简体   繁体   中英

Instagram API Unauthorized token although it is a live token?

I am building an app with Instagram's API where I can search photos by tags.

Unfortunately I am getting this error although I do have the live token (not the sandbox one):

400: This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions.

you probably have you app in live mode but with just basic permission.

basic permission is only good for getting your own photos via API.

To access other user's content and search you need to login with scope public_content and also get that approved by Instagram for public_content permission (which is not very easy btw, try it)

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