How can I get the public URL from the browser URL? By “browser URL” I mean something like:
http://www.linkedin.com/profile/view?id=34661816&pid=5000742&authType=name&authToken=j2C6&trk=pbmap
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t fetch the public profile URL using the “browser URL”. Via the LinkedIn API, you can fetch a user’s public profile url with the following API call:
GET http://api.linkedin.com/v1/people/~:(public-profile-url)
Note that I’m passing in the “public-profile-url” as a field selector. This is also assuming that you’ve properly authenticated your application as well: https://developer.linkedin.com/documents/authentication