Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong REQUEST_PROFILE constant for Facebook API v2.4 #13

Open
ArniPL opened this issue Mar 25, 2016 · 0 comments
Open

Wrong REQUEST_PROFILE constant for Facebook API v2.4 #13

ArniPL opened this issue Mar 25, 2016 · 0 comments

Comments

@ArniPL
Copy link

ArniPL commented Mar 25, 2016

Hello.

I found an issue with REQUEST_PROFILE constant in /src/OAuth/UserData/Extractor/Facebook.php.

Since Facebook changed things in API v2.4, requests using that constant no longer retrieve full profile. Only name and id fields. So now we have to explicitly requests needed fields.

To get things to work, I changed this line to:

const REQUEST_PROFILE = '/me?fields=id,email,first_name,gender,last_name,link,locale,name,timezone,updated_time,verified';

I'd make a pull request but I don't know if this is correct way of handling this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant