Instagram关系(POST)API在iOS应用程序中不起作用

我正在开发一个使用Instagram API的iOS iPhone应用程序,其中用户允许使用Instagram关系API关注另一个用户帐户,而且我总是收到此API请求的错误消息:

API请求:

https://api.instagram.com/v1/users/157xxxx469/relationship?access_token=169527xxxx.f71bc56.fb2a414a0ee7469ca381a3659f5cxxxx

收到的回应:

{ "meta": { "error_type": "OAuthPermissionsException", "code": 400, "error_message": "This request requires scope=relationships, but this access token is not authorized with this scope. The user must re-authorize your application with scope=relationships to be granted write permissions." } } 

当我在login时被授权使用范围,我使用下面的URL来请求:

https://api.instagram.com/oauth/authorize/?client_id=56a6xxxx6a8b41f288477fxxxxea253e&redirect_uri=http://localhost:8888/MAMP/&response_type=token&scope=likes+comments+relationships

但是,我惊讶的是,用户只需要访问基本信息权限而不是关系,评论或类似信息。

请参考下面的截图:

在这里输入图像说明

我不知道我是否已经被授予特权或不使用Instagram关系API; 我怎么可能检查?

另外,我做错了什么,我该如何解决?

一旦获得批准,您将在授权屏幕上看到权限,如下所示:

Follow/Unfollow other users

在这里输入图像说明