无法获得评论范围

时间:2014-12-27 04:19:48

标签: php api instagram instagram-api

我正在使用Instagram API并希望获得代表用户发布评论的权限。但不知怎的,它不起作用。

请求链接:

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

当这个链接打开时,我会被要求获得基本信息和喜欢的许可,但不会评论... Where is the comment scope?

现在,在我允许并希望在API中添加注释后,它会返回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."}}

我做错了什么?是否无法获得评论范围?我这样做就像Instagram在最底层的这个链接上描述的那样 Instagram Authentication

1 个答案:

答案 0 :(得分:8)

您是否填写了以下表格?

https://help.instagram.com/contact/185819881608116

在您的应用有权访问POST评论端点之前,您似乎必须填写表单。