Skip to content

Facebook provider fields update #65

@ghost

Description

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'
));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions