I'm using Register with Facebook as one of the ways to log in to my web app, and expressly ask for the "email" permission..
On login, some of the user data ($facebook->api('/me')
) is stored into the users database, however, sometimes the email field just doesn't exist - is this a common problem?
Now, email is no longer required. Facebook registration even in desktop requires only Email OR Phone.
If you notice you are not receiving a Facebook password reset code email in your mailbox, it means that the current email address you are expecting the mail to come through is not linked to your Facebook account.
We block the use of certain names to help prevent people from creating fake or malicious accounts. We're sorry if your name was blocked by mistake. Make sure that your name follows our guidelines. Try signing up again at facebook.com.
Click the arrow in the upper-right corner of your news feed and select "Account Settings." Your email address is listed under General Account Settings.
Just a guess...
The facebook documentation says:
note: this field will not be returned if no valid email address is available for the user
Source: https://developers.facebook.com/docs/reference/api/user/
So when an email address become invalid (users who haven't used facebook in years and have destroyed/changed their email address since for example), facebook may stop returning this field.
5% of invalid address may sounds big, but if I check my facebook friends, I think more than 5% of them never use their account, and I wouldn't be surprised if the address they used when they signed in is now invalid.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With