I am using this plugin for oauth login, here is my FB response while doing aouth login:
{"state":"","access_token":"XYZ","expires_in":5110943,"client_id":"CLIENT ID","network":"facebook","display":"popup","redirect_uri":"http://localhost/XYZ123/www/callback.html","scope":"email,basic","expires":1439628780.389}}
The problem is i am not getting email of user. As per other SO solutions :
I have verified email so that should not be a matter. I am not getting FB message regrading verifying email.
Here is output of CLIENT ID/permissions
{
"data": [
{
"permission": "email",
"status": "granted"
},
{
"permission": "public_profile",
"status": "granted"
}
]
}
You need to make an API call to get the users profile. Email is not included in the authResponse object.