thephpleague / oauth2-linkedin

LinkedIn Provider for the OAuth 2.0 Client
MIT License
83 stars 37 forks source link

picture-urls missing from response? #11

Closed jamesgraham closed 6 years ago

jamesgraham commented 6 years ago

This is not an issue with the library itself, but has anyone noticed picture-urls is no longer returned?

We can only access the 100px picture-url instead.

stevenmaguire commented 6 years ago

Have you tried setting the fields explicitly, explained in the readme, and adding picture-urls::(original) to the list of fields to return?

jamesgraham commented 6 years ago

I sure have- previously I did this with assigning to the $data attribute directly but changed this in your new branch

On 13 March 2018 at 17:21, Steven Maguire notifications@github.com wrote:

Have you tried setting the fields explicitly, explained in the readme https://github.com/thephpleague/oauth2-linkedin#retrieving-linkedin-member-information, and adding picture-urls::(original) to the list of fields to return?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thephpleague/oauth2-linkedin/issues/11#issuecomment-372703562, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5Cjp0WE2Gt9Evv50TG2-6Ejfic5qC7ks5td-P8gaJpZM4So1lO .

-- Kind regards,

James Graham

stevenmaguire commented 6 years ago

Can you share more about what you are doing?

jamesgraham commented 6 years ago

Sure- I am adding picture-urls::(original) in the field list to try and import a higher resolution profile photo.

In the callback, no picturesUrls are returned. If we request the standard picture-url we do get the 100px image. This seems to be a change on the LinkedIn side because no changes have been made to the client.

I was just wondering if anyone else has seen this change in the past month.