php - Can not get email address by Facebook login (javascript) -
this question has answer here:
i use facebook javascript handle function login facebook. before, can use it, , facebook send server user's info:
localhost
v2.2 id: first_name: last_name: email: token:
v2.5 - but, get:
id: first_name: last_name: token:
don't have email? what's problem @ here? , how can fix it.
thank much!
it called "declarative fields" , came v2.4 of graph api: https://developers.facebook.com/docs/apps/changelog#v2_4
you have specify fields want in api call, or basic ones.
Comments
Post a Comment