Api facebook login does not return same email requesting field

0

My facebook api is not returning email field. I saw in a forum post giving the solution to this problem, requesting the field in api, but I did this and it does not work.

  

Login with facebook api does not return user email

Interesting thing is that when I testo site it right, and in the air comes as "undefined" (E-MAIL FIELD, ALL REMAINING NORMAL RETURNS)

In the api registration in the facebook settings API is already by default requesting email for user

Follow the code

FB.api('me?fields=email,name,link,picture', function (response) { 
console.log(response)
}):
    
asked by anonymous 05.09.2018 / 20:51

0 answers