我正在使用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 Authentication
答案 0 :(得分:8)