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

Custom made profile picture url doesn't work in recent fb graph api #25

Open
sarim opened this issue Nov 23, 2015 · 0 comments · May be fixed by #26
Open

Custom made profile picture url doesn't work in recent fb graph api #25

sarim opened this issue Nov 23, 2015 · 0 comments · May be fixed by #26

Comments

@sarim
Copy link
Contributor

sarim commented Nov 23, 2015

The plugin uses 'https://graph.facebook.com/' + profile.id + '/picture?type=large' for profile picture. But in facebook api v2.0 facebook user's user id's aren't real anymore.

Ref: https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_user_ids

App-scoped User IDs
Facebook will begin to issue app-scoped user IDs when people first log into an instance of your app coded against v2.0 of the API. With app-scoped IDs, the ID for the same user will be different between apps.

So the custom made pro pic url doesn't work anymore. For it to work, the plugin needs to call me/picture?type=large then download the picture from the url.

I'll work on a PR.

@sarim sarim linked a pull request Nov 23, 2015 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant