Derive LinkedIn profile URL from user ID?
Asked Answered
M

4

27

Is it possible to derive a linkedin profile url (public OR private) from the user ID?

Magda answered 2/7, 2012 at 15:4 Comment(0)
B
19

You can use the ID in this URL and this will give you the link to User Profile http://www.linkedin.com/profile/view?id=YourID

UPDATE: Apparently, this solution no longer works.

Bystreet answered 2/7, 2012 at 15:6 Comment(7)
Jordan- This is the right answer to my question as worded- but I actually have a different problem as the LinkedIn API uses alphanumeric token IDs which don't work in this format...- see new question: https://mcmap.net/q/535042/-derive-linkedin-profile-url-from-api-user-token/165673Magda
As tested right now, this works with the api ids, too. It will map the api-id to another internal id for you when you visit the link.Guertin
No it doesn't. All my tests have it mapping to your own ID by default, not to the member owning the API id.Nepotism
For some reason, this doesn't work for me. I get this error There was an unexpected problem that prevented us from completing your request., any idea why this is so?Nata
They've removed this, sadly. Lookup by member ID no longer works.Kairouan
Seems solution below is not working anymore. Who know another way to get profile link from user id?Exordium
This solution doesn't work for me.. I have added another updated solution that worked for me..Rivero
S
7

You need to get r_basicprofile permissions from the user, then grab the public-profile-url field from the response.

read more at https://developer.linkedin.com/docs/fields/basic-profile

Sunnisunnite answered 22/5, 2017 at 16:35 Comment(0)
F
0

You can get the linkedin url using the below format if you have the user id.

https://www.linkedin.com/in/userID/

Replace the userID with linkedin user id.

Thank you!

Feline answered 2/3, 2023 at 13:17 Comment(0)
R
-2

I guess some things have changed in the LinkedIn API over the years.

This is the solution that worked for me:

http://www.linkedin.com/in/USERNAME

Used it as a href in my website to link to user's LinkedIn profile page and it works fine.

Rivero answered 30/11, 2016 at 13:26 Comment(1)
But how can we get username from memeber-id eg 129056251Fieldfare

© 2022 - 2024 — McMap. All rights reserved.