How do you get the email using facebook api?
Posted
by
Marwelln
on Stack Overflow
See other posts from Stack Overflow
or by Marwelln
Published on 2010-10-28T22:49:23Z
Indexed on
2012/12/02
5:05 UTC
Read the original article
Hit count: 103
I'm using this code but I can't figure out how to get the email from the user. I know you must get special permission from the user but I don't know how.
I can get the public data from the user but that's not what I even need. The only thing I need is the email.
I guess it's something with this line:
$me = $facebook->api('/me');
I have read the documentation but I still don't know how I can get the email. How do I get the email from the user loggin in on my website with the facebook api?
© Stack Overflow or respective owner