![](/img/trans.png)
[英]ios Instagram api POST Relationship Endpoints using Alamofire - Error
[英]Instagram relationship (POST) api is not working in iOS app
我正在使用Instagram API開發iOS iPhone應用程序,其中用戶允許使用Instagram Relationship API關注其他用戶帳戶,並且我總是收到此API請求的錯誤:
API請求:
收到的回復:
{ "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." } }
當我在登錄時獲得范圍授權時,我使用以下URL來獲取請求:
但令我驚訝的是,用戶只要求訪問基本信息權限而不是關系,評論等。
請參考下面的截圖:
我不知道我是否被授予使用Instagram Relationship API的特權; 我怎么可能檢查一下?
另外,我做錯了什么,如何解決?
獲得批准后,您將在授權屏幕中看到權限,如下所示:
Follow/Unfollow other users
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.