Unable to get comment area

I work with the Instagram API and want to get permission to post comments on behalf of users. But for some reason this does not work.

Request link:

https://instagram.com/oauth/authorize/?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=token&scope=comments+likes

When this link is open, I will be asked to give permission to receive basic information and sympathy, but not for comment ... Where is the comment scope?

And now, after I give permission and want to add a comment to the API, it returns error 400:

{"meta":{"error_type":"OAuthPermissionsException","code":400,"error_message":"This request requires scope=comments, but this access token is not authorized with this scope. The user must re-authorize your application with scope=comments to be granted write permissions."}}

What am I doing wrong? Can't get the comment pane? I do it as Instagram describes it on this link at the bottom of Instagram Authentication

+4
source share

Source: https://habr.com/ru/post/1569101/


All Articles