Hi,
Facebook won’t return the user’s email address (along with other profile data) if:
1. User has created their Facebook account using phone number instead of email.
2. User has edited the social login app permissions on first social login at the time of Facebook authentication and declined access to the email address of their account. You can search the app you have created for social login at https://www.facebook.com/settings?tab=applications (after logging into the Facebook account that is not showing email after social login) and provide it access to the email address associated to your FB account, if you had declined this permission before.
Thank you!
I’ve tested here. At first, inside the app configuration, it’s showing that the app have access to the user email:
Approved Items
LOGIN PERMISSIONS
email
Provides access to the person’s primary email address. This permission is approved by default.
So, looking inside the facebook account, at the applications tab, as you asked me to do, it says:
Email address:
Your main email address
And it’s marked (checked) as blue.
So I don’t know what’s happening with the email address.
I was using another plugin before, and there the email was working, but I don’t want to use it anymore because it has lots of bugs.
I really like your plugin too much, I just need to adjust this think. Can you help me?
Thanks again!
I’ve removed the app from the facebook account, and also the account at the site, and tried to do again.
Facebook opened the box and showed:
APP will receive:
Your permissions to public profile and email address.
Edit this
Continue as User
Cancel
This does not allow the app to post to Facebook
I just clicked on continue and the site went to the home page again, and showed the box:
Email needed
Close
Please enter a valid email address. You might be required to verify it
I don’t want to write the email, but if I turn if off at the configuration, facebook gives the email as [email protected], as I said before.
Thank you so much.
Then we need your website url with Facebook Login enabled to check what’s going on.
Ok, thank you. Here is the URL: http://tocaukulele.com.br
Thanks!
Hello again.
I’ve changed your user to be administrador, can you see if is it working?
Thank you so much.
Yes, it is working.
We will get back to you soon.
We just tried logging in using multiple Facebook and Google accounts. Email is being saved in XProfile fields. You would like to try logging in using another Facebook account.
Ok, thank you so much, amazing!!
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@heateor I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.
https://ww.wp.xz.cn/support/guidelines/#the-bad-stuff
Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.
If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.
Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.