如何获得Facebook用户的朋友的电子邮件 [英] How to get a facebook user's friends emails

查看:124
本文介绍了如何获得Facebook用户的朋友的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好,我只是问如何使用面书API或其他方式获取用户的朋友电子邮件,我想在其中使用此功能的情况如下,我的应用程序具有一个名为导入Facebook朋友"的功能.将执行以下操作: -验证此用户是否具有有效的Facebook帐户 -要求他提供他的Facebook标识符(电子邮件) -从他的标识符中获取他的所有朋友并获取每个人的电子邮件 我不知道是否有执行此功能的API?

Good Evening, i'm just asking how to get a user's friends emails using face book API or something else, the scenario i want to use this feature in goes as follows, my application has a feature called 'import facebook friends' that will do the following: - verifies that this user has a valid facebook account - asks him for his facebook identifier(email) - from his identifier get all his friends and get everyone's email i don't know if there's any API that performs this functionality?

推荐答案

要获取用户的电子邮件地址,您需要user_email权限.但是,由于Facebook不允许应用程序获取朋友的电子邮件地址,因此没有等效的friends_email权限.

To get a user's email address, you need the user_email permission. However, there is no equivalent friends_email permission to get Friends' email addresses as Facebook doesn't allow applications to get these.

您可以使用Facebook用户ID来将朋友链接在一起.这是正确的处理方式,因为电子邮件地址随时都可以更改.

Instead, you the Facebook User ID to link friends together. That is the correct way to do things, since the email address can change anyway.

这篇关于如何获得Facebook用户的朋友的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆