Facebook auth does not return email
erhanw3 opened this issue · comments
please help.
İts only return
array(2) { ["name"]=> string(10) "Arif Erzin" ["id"]=> string(17) "10153177435559690" }
In the controller, use $result = json_decode( $fb->request( '/me?fields=id,name,email' ), true );
instead of $result = json_decode( $fb->request( '/me' ), true );
Thanks.
It works for the examples I tried.
Great !!
Is get email possible in twitter api?