I have got the access token for the Instagram API but when I try to access the endpoints of tag with this url: https://api.instagram.com/v1/tags/kuwait/media/recent?access_token=my-access-token *******
It shows:
{"meta": {"error_type": "OAuthPermissionsException", "code": 400, "error_message": "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."}}
How do I fix this?
I am not building a full app just wanted to add some features in my project.
your error is You Want to get public_content but your app don't have permission to get public_content.
so solution to your problem is re-authorize your application with scope=public_content as error describe.
so just add scope=public_content as i suggest
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.