Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding scopes to instagram app?

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

like image 794
JordanBelf Avatar asked Apr 17 '15 18:04

JordanBelf


People also ask

How do you add testers to Instagram?

Navigate to Roles > Roles and scroll down to the Instagram Testers section. Click Add Instagram Testers and enter your Instagram account's username and send the invitation.


2 Answers

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 ^^

like image 164
Romdhan Avatar answered Sep 24 '22 01:09

Romdhan


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

like image 42
JordanBelf Avatar answered Sep 26 '22 01:09

JordanBelf