如何通过Facebook API获取热门好友?

发布于 2024-12-09 04:19:39 字数 306 浏览 1 评论 0原文

我知道我可以使用 https://graph.facebook.com/me/friends 交朋友 我也知道我可以通过 FQL 交朋友,如下所示: 选择uid,用户名 来自用户 哪里uid 在 ( 选择uid2 来自朋友 其中 uid1 = 我() 限制 20 ) 但我需要的是由你最常交往的朋友,即你的亲密朋友来订购这些。

这可能吗?

I know I can get friends using https://graph.facebook.com/me/friends
I also know I can get friends by FQL like so:
SELECT uid,username
FROM user
WHERE uid
IN (
SELECT uid2
FROM friend
WHERE uid1 = me()
LIMIT 20
)
But what I need is to order these by the friends you interact with most often, i.e. your close friends.

Is this possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

是你 2024-12-16 04:19:39

您可以搜索用户定义的列表。“亲密朋友”列表可能包含此类信息,尽管它是由用户自己手动编辑的(因此它可能为空或不准确)

you could search for the user's defined Lists.. The list "Close Friends" may contain such information though it is manually edited by the user himself (so it might be empty or not accurate)

短叹 2024-12-16 04:19:39

您必须自己为此构建一个算法,涉及多个 FQL 查询(获得点赞、发表评论、常见照片标签等)。

You would have to build an algorithm out for this yourself involving the several FQL queries (get likes, post comments, common photo tags, etc).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文