Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Only your own member data, or the company pages you administer: LinkedIn has no public search for people or posts. Permissions such as r_member_social are restricted to approved apps.
- Every call carries Linkedin-Version and X-Restli-Protocol-Version headers; URNs in paths and query values must be URL-encoded.
- Member access tokens expire; refresh them outside this catalog.
- Finder calls need the X-RestLi-Method: FINDER header and page with start and count.
Endpoints
Get the signed-in member
- Needs the openid and profile scopes (email for the email field). email and email_verified may be absent.
List posts by a member or organization
- A member’s posts need r_member_social, which only approved apps get; an organization’s need r_organization_social and an admin-type page role.
- Pages by start and count; paging.links gives the next page.