oauth-4-laravel icon indicating copy to clipboard operation
oauth-4-laravel copied to clipboard

Facebook and Twitter auth does not return email

Open paulioceano opened this issue 9 years ago • 2 comments

Please help me, it is only returning the name and the ID for Facebook and all the user information except for the email in twitter.

I've been trying to use $result = json_decode( $fb->request( '/me?fields=id,name,email' ), true ); instead of $result = json_decode( $fb->request( '/me' ), true ); in the controller but it doesn't work!

paulioceano avatar Nov 17 '15 20:11 paulioceano

Same problem!

RydelHouse avatar Apr 20 '16 06:04 RydelHouse

Just want to share with you if maybe you haven't configure it how.

$result = json_decode( $fb->request( '/me?locale=en_US&fields=name,email' ), true );

got the result right!.

melee1984 avatar Aug 31 '16 13:08 melee1984