通过单击FaceBook“喜欢"按钮获取用户电子邮件ID? [英] Get User Email id on clicking FaceBook 'Like' button?

查看:68
本文介绍了通过单击FaceBook“喜欢"按钮获取用户电子邮件ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要用户单击Facebook的赞"按钮时的电子邮件地址.

I want the email address of the user when he/she clicks on the facebook Like button.

这是我正在使用的代码:

Here is the code I'm using:

FB.Event.subscribe('edge.create', function(response) {
  // like clicked
});

但是响应中只有HREF.

But the response only has the HREF.

我该怎么做?

推荐答案

不能

即使用户要允许/授权您的应用程序并且您要征求他们的电子邮件(email许可),用户也可以选择 not 与您共享并为您提供代理 Facebook电子邮件地址!

Even if the user is going to allow/authorize your application and you were asking for their emails (email permission), users may choose not to share it with you and provide you a proxied Facebook email address instead!

这篇关于通过单击FaceBook“喜欢"按钮获取用户电子邮件ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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