feat(linkedin): read profile analytics and services#1722
Closed
gauravsaxena1997 wants to merge 1 commit into
Closed
feat(linkedin): read profile analytics and services#1722gauravsaxena1997 wants to merge 1 commit into
gauravsaxena1997 wants to merge 1 commit into
Conversation
a8f6427 to
d4d7d18
Compare
jackwener
added a commit
that referenced
this pull request
May 23, 2026
Owner
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
LinkedIn currently has messaging and search-oriented adapters, but no read-only way to inspect the career profile surfaces that are visible in an authenticated browser session. For job-search and career workflow agents, this leaves profile state opaque: headline, About text, profile dashboard counters, and Services page details have to be checked manually.
This PR adds focused read adapters for those profile surfaces without performing any LinkedIn write actions.
What this PR does
Adds three
Strategy.COOKIELinkedIn browser adapters:Implementation details:
profile-readextracts visible profile identity, headline, location, About text, About character count, About skills, experience, education, services, and featured textprofile-analyticsextracts visible dashboard counters such as profile views, post impressions, search appearances, followers, and connections when presentservices-readdiscovers or accepts a Services page URL and extracts overview, availability, work locations, pricing, provided services, media metadata, message/review visibility, and raw page textLive verification
Verified against a logged-in LinkedIn profile session:
profile-readreturned the current headline, About text, About skill chips, education, experience, and services summaryprofile-analyticsreturned profile dashboard counters including profile views, post impressions, search appearances, and followersservices-readreturned the Services overview, 10 provided services, remote/in-person availability, pricing, and 4 media entries with titles/descriptionsChecklist
npm run buildnpx vitest run --project adapter clis/linkedin/profile-read.test.js clis/linkedin/profile-analytics.test.js clis/linkedin/services-read.test.jsnpm run typechecknode scripts/check-typed-error-lint.mjsnode scripts/check-silent-column-drop.mjs