Facebook API for iOS,获取朋友的个人资料图片 [英] Facebook API for iOS, Getting friends' profile pictures
本文介绍了Facebook API for iOS,获取朋友的个人资料图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何获取朋友的个人资料图片并使用Facebook API for iOS显示。
I would like to know how I can fetch friends' profile picture and display them with the Facebook API for iOS
感谢
推荐答案
您可以在此端点获取您的朋友列表: https://graph.facebook.com/me/friends 。然后,您可以在此端点获取朋友的个人资料图片: https://graph.facebook.com/ [profile_id] / picture 。
You can get a list of your friends at this endpoint: https://graph.facebook.com/me/friends. Then, you can get a friend's profile picture at this endpoint: https://graph.facebook.com/[profile_id]/picture.
请务必使用此SDK: https://github.com/facebook/facebook-iphone-sdk
Be sure to use this SDK: https://github.com/facebook/facebook-iphone-sdk
希望这有帮助!
这篇关于Facebook API for iOS,获取朋友的个人资料图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文