LinkedIn Oauth profile data

Hi @neerja,

Thanks for the detailed instructions. It seems though that the section I have quoted above is incomplete? According to the documentation here, one must add a so called ‘decoration’ (displayImage~:playableStreams) to the call:
GET https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams))

Without it, the value returned is not an image nor is it an image URL. When I add the decoration, I get a lot more data back (explained here) about the asset but the only ids returned seem to be ‘URNs’.

Any advice please on converting a URN into an image URL? This stack overflow answer suggests we just need to pass on the access token after the projection but I’m unsure how to do that.

1 Like