簡體   English   中英

獲取Unfollower 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)

但沒有找到結果。

您有什么建議嗎? 謝謝

@John Instagram限制了api的訪問權限。 為此,您必須從沙箱中批准您的應用程序許可。 一旦Instagram批准您的許可,您就可以訪問相關數據。 批准許可可以通過將您的應用程序提交到Instagram來完成。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM