将范围添加到 Instagram 应用程序?
Adding scopes to instagram app?
我试图让我的应用程序能够使用除基本权限之外的其他范围,但是当我尝试使用其他范围时,出现以下错误:
Something went wrong :(stdClass Object ( [meta] => stdClass Object (
[error_type] => OAuthPermissionsException [code] => 400
[error_message] => This request requires scope=likes, but this access
token is not authorized with this scope. The user must re-authorize
your application with scope=likes to be granted write permissions. ) )
问题是当我尝试重新授权用户时没有任何反应。所以我又去看了文档,它说:
Note that in order to use these extended permissions, first you need
to submit your app for review
但是在开发者网站上没有任何地方可以看到任何提交的应用程序link。
有人知道如何进行吗?
帮助将不胜感激,
谢谢
您的登录 URL 必须像:
https://api.instagram.com/oauth/authorize?client_id=xxxxxx&redirect_uri=zzzzzz&scope=basic+likes+comments+relationships
其中 xxxxxx 是您的 client_id 和 zzzzzz 是您在申请中定义的 redirect_uri ;)
希望对你有帮助^^
我刚刚找到了答案。好像是改了机制。现有应用程序在 2015 年 4 月 28 日之前都可以,之后所有应用程序都必须遵循此处的新规则:
http://developers.instagram.com/post/116410697261/publishing-guidelines-and-signed-requests
我试图让我的应用程序能够使用除基本权限之外的其他范围,但是当我尝试使用其他范围时,出现以下错误:
Something went wrong :(stdClass Object ( [meta] => stdClass Object ( [error_type] => OAuthPermissionsException [code] => 400 [error_message] => This request requires scope=likes, but this access token is not authorized with this scope. The user must re-authorize your application with scope=likes to be granted write permissions. ) )
问题是当我尝试重新授权用户时没有任何反应。所以我又去看了文档,它说:
Note that in order to use these extended permissions, first you need to submit your app for review
但是在开发者网站上没有任何地方可以看到任何提交的应用程序link。
有人知道如何进行吗? 帮助将不胜感激, 谢谢
您的登录 URL 必须像:
https://api.instagram.com/oauth/authorize?client_id=xxxxxx&redirect_uri=zzzzzz&scope=basic+likes+comments+relationships
其中 xxxxxx 是您的 client_id 和 zzzzzz 是您在申请中定义的 redirect_uri ;)
希望对你有帮助^^
我刚刚找到了答案。好像是改了机制。现有应用程序在 2015 年 4 月 28 日之前都可以,之后所有应用程序都必须遵循此处的新规则:
http://developers.instagram.com/post/116410697261/publishing-guidelines-and-signed-requests