OAuthPermissionsException with instagram


#1

I am able to login into instagram with my application .i am using this code to receive the access token.

$cordovaOauth.instagram(“XXXX”,[“basic”,“public_content”,“follower_list”,“comments”,“relationships”,“likes”]).then(function(result) {
console.log(result.access_token);
$localstorage.set(‘userToken’,result.access_token);
}, function(error) {
// error });

but when i send request too instagram api it shows
"error_type": “OAuthPermissionsException”,
“code”: 400,
“error_message”: “This request requires scope=follower_list, but this access token is not authorized with this scope. The user must re-authorize your application with scope=follower_list to be granted this permissions.”