facebook fql 查询检索朋友发布的项目
Facebook 是否允许使用任何 fql 语句来帮助通过应用程序接口获取此页面的内容: http:// www.facebook.com/posted.php 我知道链接表返回登录用户的发布项目(http://developers.facebook.com/docs/reference/fql/links)。我需要相同的但对于登录用户的朋友。
谢谢。
Is there any fql statements allowed by facebook that helps to fetch contents of this page through an application interface: http://www.facebook.com/posted.php I know the links table returns the posted item for a logged in user (http://developers.facebook.com/docs/reference/fql/links). I need the same but for the logged-in user's friends.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 Fql 查询或 Graph API 来获取您的好友数据。
有时您无法从图表中获取所有信息,例如朋友的生日,但是您可以使用 fql 查询来解决您的问题。
这是给你的一个例子。
创建第一个 facbook 对象并使用它。
$query = "从用户 WHERE uid IN 中选择 uid、名字、姓氏、生日日期、性别、pic_square、当前位置、家乡位置 (从朋友中选择 uid2 WHERE uid1 = me()) AND 生日日期 != 0 ORDER BYbirthday_date";
问候,
建筑师。
you can use Fql query or Graph API to get your friends data.
Sometimes you will not get all information from the graph like birthdate of your friends but yes you can use fql queries to solve your probs.
here is an exmple for you.
create first facbook object and the use it.
$query = "SELECT uid, first_name, last_name, birthday_date, sex, pic_square, current_location, hometown_location FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND birthday_date != 0 ORDER BY birthday_date";
Regards,
Archit.
您可以通过 FQL 查询来完成此操作 - 但如果您需要有关发布链接的朋友的更多信息,您可能需要使用多个查询:
您可能希望限制朋友的数量(甚至链接本身),因为这可能是昂贵的查询
You can do this through an FQL query - though you may need to use multiple queries if you require more information about the friend who posted the link:
You may want to limit the number of friends (or even the links themselves) as this can be a costly query