I’m working with cURL & Facebook sdk for 5-6 years, and had no trouble at all.
But now, I suddenly can’t receive the user’s email address after he logs in my site and a unique personal token is generated for him.
I mean my scope is: public_profile, email. that’s all. I first noticed it when I looked at my database and saw that there are empty rows of “email”.
So I joined Auth0, to check what’s the issue. And also on this platform, I can’t get any email address although the “email” permission is allowed by Facebook by any app and does not require any additional approval or review by them.
I’m getthing this info:
“name”: “Ted Mosby”,
there’s no “email” line at all as you can see…
I re-checked this more than 3 times, re-checked myself and ticked the “email” box & re-checked the scope parameters in the url before logging to the app.
I also checked it with 3 different users, all 3 verified emails.
The really strange thing is that I don’t know what’s the “nickname” line is realated to… I mean facebook doesn’t let you choose a “nickname”. There are only your first&last name & your username(which comes right after facebook.com/myusername)
The strange thing is the “nickname” that is mentioned here, is not the “username” that comes after facebook.com/ BUT this is the username of my email address. I mean:
My email address is: tudalos98@gmail. com
my facebook short link is: facebook.com/ted.mosby.9;
and there is the “nickname” that is fetched by facebook:
Where do you think is the problem?