I am making a fb.api() request to the Facebook api but am unable to get the email address of the user.
FB.api('/me?fields=name,email,id', function(response) {
console.log(response);
});
When I make this api request an object is returned by Facebook which only has the id
AND name
of the user but does not give me the email address of the user
I have asked for email permission and the user has granted it
Please correct me where I am going wrong.