开发者

Facebook Connect: Send email to proxy address?

开发者 https://www.devze.com 2022-12-21 12:55 出处:网络
When users connect to my site with facebook con开发者_运维百科nect i use this code to get their proxied email:

When users connect to my site with facebook con开发者_运维百科nect i use this code to get their proxied email:

$user_details=$fb->api_client->users_getInfo($_SESSION['fb_uid'], array('last_name','first_name','proxied_email'));
$email = $user_details[0]['proxied_email'];

It works fine, i get strange-looking-emails ending with @proxymail.facebook.com.

The problem is that i can't send emails to this address. The user never receives them.

And yes i have changed the email domain in the application settings to mydomain.com

What am I doing wrong?


since last month, you can ask users permission to retrieve their actual email, instead of the proxied one.
Check out this message on the facebook developers blog: http://developers.facebook.com/news.php?blog=1&story=355

0

精彩评论

暂无评论...
验证码 换一张
取 消