是否可以使用 FQL 实现friends.getMutualFriends?

发布于 2024-10-08 10:15:22 字数 394 浏览 1 评论 0原文

我正在寻找一种方法来使用 FQL 实现 Facebook 旧 REST API 的friends.getMutualFriends。原因有两个: 1. getMutualFriends 仅返回 ID 列表,我想使用多重查询来获取每个返回 ID 的附加信息(而不是对 Facebook 进行额外调用) 2. 我想将几个这样的调用一起批处理。 batch.run 有一点限制(20 次调用),并且可能比多重查询慢。

不幸的是,我可能无法使用朋友表,因为虽然源ID是我的应用程序的用户,但目标ID可能不是我的应用程序的用户(Facebook甚至不会让我选择目标的朋友,即使在嵌套查询,出于隐私考虑,这是可以理解的。) 但由于我可以使用friends.getMutualFriends获得共同的朋友,我想知道是否有任何FQL等效项。

I am looking for a way to implement friends.getMutualFriends of Facebook's Old REST API with FQL. The reasons are twofold:
1. getMutualFriends only returns a list of IDs, and I'd like to use a multi-query to fetch additional information for each returned ID (rather than make additional calls to Facebook)
2. I'd like to batch a few such calls together. batch.run is a bit limited (20 calls) and presumably slower than a multiquery.

Unfortunately, I probably can't use the friends table, because while the sourceID is of a user of my app, the targetID may not be a user of my app (Facebook won't even let me select the friends of the target even in a nested query, which is understandable due to privacy concerns.)
But since I can get the mutual friends using friends.getMutualFriends, I'm wondering if there's any FQL equivalent.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文