获取取消关注 Instagram api swift

Fetch Unfollower Instagram api swift

我可以使用 instagram api 获取取消关注 Instagram 用户的详细信息吗?

如果可以的话我该怎么做????

我使用关系端点来做到这一点

https://api.instagram.com/v1/users/{user-id}/relationship?access_token=ACCESS-TOKEN

let newJson1 = JSON(data: NSData(contentsOfURL: NSURL(string: "https://api.instagram.com/v1/users/\(self.id)/relationship?access_token=\(self.accessToken)")!)!, options: NSJSONReadingOptions.AllowFragments, error: nil)

            print(newJson1)

但找到 none 个结果....

你有什么建议吗?谢谢

@John Instagram 限制了 api 访问权限。为此,您必须从沙盒中批准您的应用程序权限。一旦 Instagram 批准您的许可,您就可以访问相关数据。可以通过将您的应用程序提交到 Instagram 来批准权限。