【发布时间】:2014-12-27 04:19:47
【问题描述】:
我正在使用 Instagram API,并希望获得代表用户发布 cmets 的权限。但不知何故,它不起作用。
请求链接:
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."}}
我做错了什么?无法获得 cmets 范围吗?我这样做就像 Instagram 在最底部的这个链接上描述的那样 Instagram Authentication
【问题讨论】:
标签: php api instagram instagram-api