Apply using LinkedIn. GET profile using profile id
The purpose of my application is to get the profile of any linked user with "Apply with LinkedIn". I signed up for the Application with LinkedIn, got the client key, client secret, and completed oauth2 authentication successfully. But with the linkedIn api I can only get my LinkedIn profile information: https://api.linkedin.com/v1/people/~:(id,first-name,skills,educations,languages,twitter-accounts)?format= json
Does anyone know if it is possible to GET a different profile (not mine) using the profileID associated with the INI or in a slightly different way?
Thank you Tatiana.
source to share
You need to use the people search API with "r_network" permission, which is now a proven API access program.
https://developer-programs.linkedin.com/documents/people-search-api
You can apply https://help.linkedin.com/app/ask/path/api-dvr here .
Please make sure your app meets the following Linkedin guidelines before submitting for review
- It cannot be used for database matching, candidate search, or lead creation purposes without an established business relationship with LinkedIn.
- You can never store the data returned by the people search API.
- Search results may not be stored or may be offered as an aggregated search.
- All APIs must be done within an active user session.
- You cannot allow multiple users to search for one person's credentials. Each person must be authenticated individually.
NTN
source to share
There are several ways to do this. If you have an account ID (obtained from another API call - not the ID you see in the standard url).
/v1/people/id=xxxx:(your fields go here)
>
Or, if you have the public URL of their linked account (url!)
/v1/people/url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fsome-account-name
>
Note. I found that the return values are quite limited even for a 1st degree connection when authenticated with scope = r_fullprofile. It only returns current positions, for example, no skills, no education, other things. This is really limited use.
Inexplicably.
source to share