Skip to content

Conversation

@DanaCase
Copy link

Just changed from 'picture_url' which gives a thumbnail to 'picture_url::(original)' which gives a higher quality image.

Copy link
Member

Choose a reason for hiding this comment

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

{ value: pictureUrl }

see http://passportjs.org/docs/profile

@siacomuzzi
Copy link
Member

I prefer to keep thumbnails urls inside profile.photos and access to higher quality images from profile._json.pictureUrls

What do you think?

@oieesah
Copy link

oieesah commented Aug 17, 2016

@siacomuzzi I understand we need to follow the naming convention mentioned in LinkedIn API. But "pictureUrls" isn't very much self explanatory where there is also "pictureUrl" key name. how about having "pictureUrlsOriginal" as a key name instead?

dmlenton pushed a commit to dmlenton/passport-linkedin-oauth2 that referenced this pull request Mar 7, 2022
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.

4 participants