如何获取好友的姓名、头像
有人可以帮助编写一个示例 Facebook 应用程序的代码,该应用程序仅获取所有朋友的姓名和图像并将其打印到状态吗?我尝试了 Facebook 网站上提供的一些代码,但由于某种原因失败了,而且我无法理解该错误。
Can someone help with code for a sample Facebook application which just gets all the friends name, and images and prints them to the status? I tried some code provided in Facebook's site, but for some reason it failed and I was not able to understand the error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
基本 FQL 方法(使用新的 PHP SDK):
FQL 用户表文档
Basic FQL approach (using the new PHP SDK):
FQL User Table documentation
如果您发布错误&,那就太好了 Facebook
顺便说一句:
我能猜到的就是这些。
If would be nice if you post error & code.
By the way:
That all i can guess.
需要在域 www.xyz.com/fb/app 中添加 facebook php sdk
然后将应用程序存储在其中!
跑吧!
没有人告诉我:( :x
need to add the facebook php sdk in the domain www.xyz.com/fb/app
then store the app in it !
and run !
nobody told me that :( :x