4

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

请求链接:

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

当此链接将要打开时,我被要求授予基本信息和喜欢的权限,但不允许发表评论... 评论范围在哪里?

现在,在我授予权限并想要使用 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 身份验证的此链接上描述的那样

4

1 回答 1

8

您是否填写了以下表格?

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

看起来您必须先填写表单,然后您的应用才能访问 POST 评论端点。

于 2014-12-30T13:35:58.190 回答