FQL:是否可以从我的 Facebook 个人资料 ID 列表中获取所有电子邮件?
我有一个 FB 应用程序,仅保存我的用户的 Facebook 个人资料 ID,但我错过了添加电子邮件。
现在我需要获取我的应用程序用户的所有电子邮件及其姓名,我所做的一件事就是一一完成,但这需要时间才能完成。
我希望你们能帮助我。
更新:
我正在使用普通的 php 身份验证和 sdk。我唯一拥有的是 Facebook 用户 ID,我正在 FQL 中寻找一种方法,其中包含将返回电子邮件地址和全名的个人资料 ID 列表。
在mysql中是这样的:
SELECT email FROM user WHERE IN(1234,2355,5553)
I have an FB app that only saves the Facebook profile id of my user and I missed to add the emails.
Now i need to get all the emails of my app users along with their names, one thing i made is to do it one by one but it takes time to finish.
I hope you guys can help me.
UPDATE:
I'm using the normal php authentication and sdk. The only thing i have is the Facebook user id and i'm looking for a way in FQL with the list of Profile ids that will return Email address and fullname.
In mysql it is such like this :
SELECT email FROM user WHERE IN(1234,2355,5553)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知(以及文档/资源管理器工具状态)只有“电子邮件”而没有“friends_email”权限。因此,每个查询都需要一个具有电子邮件权限的 access_token。所以,不。您无法通过一次查询来获取多个人的电子邮件地址。我认为 Facebook 不会/不应该很快改变这一点。垃圾邮件等..
As far as I know (and the docs/the explorer tool state) there's only an "email" and no "friends_email" permission. So you need one access_token with email-permission for each query. So, no. You can't make one query to get email addresses for multiple people. And I don't think Facebook will/should change that soon. Spam etc..
您无法真正进行批量电子邮件获取。但是,对于每个经过身份验证的用户,您可以执行
\fql?q=Select email from user where uid=me()
或简单地\me?fields=email
。我真的建议您让您的法律部门仔细阅读 https://developers.facebook.com/policy/,特别关注政策第四部分。 5. 和第五节的执行。you cannot really do batch email gets. However, for each authenticated user you can do
\fql?q=Select email from user where uid=me()
or simply\me?fields=email
. I would really suggest you have your legal department read thru https://developers.facebook.com/policy/, paying extra close attention to Policies section IV. 5. and section V enforcement.