使用开放图谱 API,有没有办法确定用户的哪些朋友拥有 @facebook.com 电子邮件地址设置?

发布于 2024-11-03 19:47:55 字数 162 浏览 1 评论 0原文

标题基本上概括了这一点。在获取 Facebook 连接用户的好友列表后,我正在寻找一种方法来确定该好友是否正在通过 @facebook.com 电子邮件使用新的消息传递系统。我正在使用 javascript SDK。

同样,有没有办法用 Facebook 的新发送按钮预先填充“收件人:”列表?

The title basically sums it up. After fetching the list of friends for a facebook-connected user, I'm looking for a way to determine if the friend is using the new messaging system with the @facebook.com email. I'm using the javascript SDK.

Along the same lines, is there a way to pre-populate the To: list with Facebook's new Send button?

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

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

发布评论

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

评论(4

还如梦归 2024-11-10 19:47:55

They are not providing it Yet as you can see the user profile info they are providing here
And no for now you can't send message to user/user friends through API. Its included in there road map they will provide the feature to send message to user's inbox in upcoming days.
But There can be a manual method by calling a URL like this http://www.facebook.com/inbox/?compose&id=516888778
I know that is something you don't wanna use but this is all you can do right now.

笑着哭最痛 2024-11-10 19:47:55

这些 FQL 表可能有用:

http://developers.facebook.com/docs/reference /fql/unified_message/

在此处检查其他 unified_ 表:

http ://developers.facebook.com/docs/reference/fql

检查他们的注释:

我们正在制作
所有人都可以使用新的消息系统
用户,此时该表将
替换现有的消息表。我们
正在提供对此 API 的早期访问
仅适用于注册的开发者帐户
直到新的消息系统上线
广泛可用。您应该使用
生产消息表
当前时间的应用程序。

它说仅适用于注册的开发者帐户,并且处于测试模式。但是您可能想要查询此表以检查哪一个实现了新收件箱,否则该表将返回 null 或不返回任何数据。但是,使用此功能需要 read_mailbox 权限。

如果您注意到用户的 @facebook.com 电子邮件正在使用他们的用户名 ([电子邮件受保护])。如果您能够获取当前登录用户的朋友的用户名,那么您可能需要向每个人发送一封电子邮件并检查哪些未发送。

These FQL tables might be useful:

http://developers.facebook.com/docs/reference/fql/unified_message/

check other unified_ tables here:

http://developers.facebook.com/docs/reference/fql

Check their note:

We are in the process of making the
new messages system available to all
users, at which point this table will
replace the existing message table. We
are providing early access to this API
for registered developer accounts only
until the new messaging system is
broadly available. You should use the
message table for production
applications at the current time.

It says for registered developer accounts only and is in BETA mode. But you may want to query against this table to check which one got his new inbox implemented, else the table will return null or no data. However, using this needs read_mailbox permission.

If you will notice the @facebook.com email of users are using their usernames ([email protected]). If you are able to get the usernames of the currently-logged-in user's friends, then you may want to send each one an email and check which did not send through.

只是我以为 2024-11-10 19:47:55

不需要。您可以获取用户自己的电子邮件地址(使用 email 许可),但不是他朋友的许可。这是设计使然,而且是一件好事(即使我的朋友们渴望给出他们的数据,他们也没有必要给出我的数据)

No. You can get the user's own e-mail address (with the email permission), but not those of hir friends. This is By Design, and a Good Thing (even if my friends are eager to give out their data, they have no business to hand out mine)

薄荷港 2024-11-10 19:47:55

他们确实使用某种格式,即 Facebook ID,或者他们为自己设置的 Facebook 绰号。这不会让你检查任何东西,但这是朝这个方向迈出的一步。您可能可以请求一项权限,让您可以通过消息与某人的朋友互动,例如发送消息和墙贴,但我不能说。

此外,如果您请求某人的电子邮件,他们可以选择退出,或提供 FB 代理地址,因此这并不能保证。

They do use a certain format, which is either the FaceBook ID, or the FaceBook moniker they setup for themselves. That won't let you check anything, but it's a step in that direction. There may be a permission you can request which will let you interact with a person's friends via messaging, like with sending messages and wall posts, but I can't say.

Also, if you request a person's email, they can opt out, or offer a FB proxy address, so it's not a guarantee.

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