Adding scopes to instagram app?

2019-04-28 03:15发布

I am trying to give my app the ability to use other scopes besides the basic permissions, but when I try it with other scopes I get the following error:

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. ) )

The problem is that when I try to re-authorize the user nothing happens. So I went to the documentation again and it says:

Note that in order to use these extended permissions, first you need to submit your app for review

But there is nowhere in the developer website where I can see a any submit app link.

Does anyone has any idea how to proceed? And help will be appreciated, Thanks

2条回答
疯言疯语
2楼-- · 2019-04-28 04:00

I just found the answer. It looks like the changed the mechanism. Existing apps are fine till april 28 2015 after that all apps will have to follow new rules here:

http://developers.instagram.com/post/116410697261/publishing-guidelines-and-signed-requests

查看更多
走好不送
3楼-- · 2019-04-28 04:12

Your login URL must be like :

https://api.instagram.com/oauth/authorize?client_id=xxxxxx&redirect_uri=zzzzzz&scope=basic+likes+comments+relationships

where xxxxxx is your client_id and zzzzzz is your redirect_uri that you had defined in your application ;)

Hope i helped ^^

查看更多
登录 后发表回答