Get LinkedIn feed posts
Get posts from the logged-in user's LinkedIn home feed (linkedin.com/feed/), scrolling to load up to count posts. Returns each post's author (name, headline, connection degree, profile URL, profile picture), text, age, engagement counts, sponsored flag, permalink, any quoted post, and the feed's reason line verbatim - why the post is there ("X reposted this", "X commented", "Suggested") - with a profile URL for each actor it names. The reason line is never classified into a flag: its wording is localized and open-ended, so read reason.text to tell a repost from a like. authorPictureUrl is a signed media.licdn.com CDN link, not a stable reference: it carries an expiry a few weeks out and 403s if the query string is altered, so pass it through whole and download the bytes if you need the image to outlive the link - never store the URL. Join on authorProfileUrl instead.
Input
count optionalMax posts to collect by scrolling the home feed. Default 10; the feed is effectively infinite (algorithmic recommendations), so this is the only bound.
Default: 10Output
posts requiredSearch LinkedIn people
Search LinkedIn people by keywords with optional title, name, company, school, currentCompanyIds/pastCompanyIds (numeric ids from get_company_info), connectionDegrees, connectionOf, location, and pagination (10/page). Returns page, total, locationResolved, and people (name, url, publicId, memberUrn, degree, headline, location, snippet, followers, mutualConnections). Finding shared connections: every result row includes memberUrn (the member's stable id; get_profile returns it too). Pass that value as connectionOf in a second call and you get that member's connections — LinkedIn only reveals the ones you're allowed to see, so for a 2nd/3rd-degree member the result is exactly the people you have in common (your possible introducers). No profile visit and no other filter needed; connectionOf composes with every other facet. Location is the geoUrn facet: pass free-text `location` (resolved to the top geo suggestion via LinkedIn's typeahead, returned as locationResolved) OR — for precision/disambiguation — a `geoUrn` from suggest_locations (the geo analog of get_company_info).
Get LinkedIn profile
Fetch a LinkedIn profile's top card and About section by publicId. Returns profileUrl, name, headline, degree, memberUrn, location, currentCompany, followers, connections, and about. Check name first: non-null means the record is trustworthy; null means the fetch failed. Requires being logged in to LinkedIn.
Get LinkedIn profile experience
Get the full experience list from a LinkedIn profile's dedicated experience page by publicId, with grouped companies expanded to one entry per role. Returns positions (title, company, companyUrl, employmentType, dateRange, duration, location, description).
