php - Can not get email address by Facebook login (javascript) -


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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -