Open arcontact opened 9 years ago
I know it's deprecated but i have a little fix in Facebook provider (Provider/Facebook.php)
Line 28. Change: $url = 'https://graph.facebook.com/me?'.http_build_query(array( 'access_token' => $token->access_token ));
To this: $url = 'https://graph.facebook.com/me?'.http_build_query(array( 'access_token' => $token->access_token, 'fields' => 'id,name,email,first_name,last_name' ));
I know it's deprecated but i have a little fix in Facebook provider (Provider/Facebook.php)
Line 28. Change: $url = 'https://graph.facebook.com/me?'.http_build_query(array( 'access_token' => $token->access_token ));
To this: $url = 'https://graph.facebook.com/me?'.http_build_query(array( 'access_token' => $token->access_token, 'fields' => 'id,name,email,first_name,last_name' ));