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

#343. add access token params in the profile picture url #344

Merged
merged 1 commit into from Oct 19, 2020

Conversation

anklos
Copy link
Contributor

@anklos anklos commented Sep 28, 2020

According to new facebook API change, it requires access token to fetch user profile picture: https://developers.facebook.com/docs/graph-api/reference/user/picture/

This pull request adds access token param in the image url, which resolves the issue I posted #343

@anklos
Copy link
Contributor Author

anklos commented Oct 2, 2020

anyone still maintains this gem?

@simi
Copy link
Owner

simi commented Oct 2, 2020

yes, this is on my radar

Copy link

@OlivierJM OlivierJM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. @anklos @simi would the documentation need to be updated after this?

@simi
Copy link
Owner

simi commented Oct 16, 2020

@OlivierJM definitely. I'm just thinking if we should do this only for particular (API) version or just release new major version (of this gem) with API default changed to one related this change is related as well.

@OlivierJM
Copy link

I think a release for just this particular API change would do.

@tupakapoor
Copy link

Just wanted to leave a gentle reminder that these new requirements go live on Facebook on 10/24 😃

@simi
Copy link
Owner

simi commented Oct 19, 2020

OK, let's setup final plan.

Would adding access token for profile picture URL break old APIs?

@OlivierJM
Copy link

It doesn't look like It breaks the current APIs

@anklos kindly confirm am not much of a rails guy

@anklos
Copy link
Contributor Author

anklos commented Oct 19, 2020

@OlivierJM can confirm it does not. I am running my forked version on production.

@anklos
Copy link
Contributor Author

anklos commented Oct 19, 2020

@simi it does not break old APIs, which just ignore the access_token query params in picture url

@OlivierJM
Copy link

awesome, sounds good. what would you recommend we update in the documentation ?

@simi it looks like we are good to go on this.

@simi simi merged commit 3c3d18d into simi:master Oct 19, 2020
@anklos
Copy link
Contributor Author

anklos commented Oct 19, 2020

@OlivierJM could mention that new version supports facebook API changes for profile picture (https://developers.facebook.com/docs/graph-api/reference/user/picture/)

@OlivierJM
Copy link

awesome, thanks.

@simi
Copy link
Owner

simi commented Oct 19, 2020

released as 8.0.0

@OlivierJM
Copy link

Thanks a lot @simi

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 this pull request may close these issues.

None yet

5 participants