linkedin.github.com
linkedin.github.com copied to clipboard
How to get userbasic details from user profile url
How can I get Full name and profile photo from the use profile url i.e https://www.linkedin.com/in/sarthak-chauhan-737938115/ through linkedIn api
I have an application where user can enter their LinkedProfile url, using that url I need fetch only full name and profile photo.I should not required to make user login through the linkedIn account to fetch these details as these are public details and any linkedIn user can see these data by visiting to that user profile url that they shared with us.
I achieved the same for twitter through https://api.twitter.com/2/users/by/username/JoeBiden?user.fields=created_at,description,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified api
similar should be achievable using vanityname of linkedIn user that we can extract from user profile url
I think https://github.com/linkedin/linkedin.github.com/issues/12 issue is also related to similar requirement
I found previously there was a way to achieve this using https://api.linkedin.com/v1/people/url=https%3a%2f%2fwww.linkedin.com%2fin%2fashishmishraoft?format=json
but now it's returning not found