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!
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!