
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@robinpath/linkedin
Advanced tools
LinkedIn REST API v2 integration — post personal and company shares, look up profiles and organizations, list and delete shares. Uses the encrypted credential vault for OAuth 2.0 access tokens.
LinkedIn module for RobinPath.
The linkedin module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/linkedin
1. Set up credentials
linkedin.setToken "your-access-token"
2. Get the authenticated user's profile using /v2/userinfo
linkedin.getProfile
| Function | Description |
|---|---|
linkedin.setToken | Store an OAuth2 access token for LinkedIn API requests |
linkedin.getProfile | Get the authenticated user's profile using /v2/userinfo |
linkedin.getOrganization | Get organization/company page information |
linkedin.createPost | Create a text post (share on feed) |
linkedin.createArticlePost | Share an article with URL, title, and description |
linkedin.createImagePost | Share an image post with text |
linkedin.deletePost | Delete a post by its URN |
linkedin.getPost | Get post details by URN |
linkedin.registerImageUpload | Register an image upload and get the upload URL and image URN |
linkedin.uploadImage | Upload an image binary to the URL from registerImageUpload |
linkedin.addComment | Add a comment on a post |
linkedin.getComments | List comments on a post |
linkedin.deleteComment | Delete a comment by its URN |
linkedin.addReaction | React to a post (LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION) |
linkedin.removeReaction | Remove a reaction from a post |
linkedin.getReactions | Get all reactions on a post |
linkedin.getFollowerCount | Get the follower count for an organization |
linkedin.getShareStatistics | Get post/share analytics for an organization |
linkedin.searchPeople | Search for people on LinkedIn (limited access, requires special permissions) |
linkedin.getConnections | Get first-degree connections of the authenticated user |
linkedin.getProfile
linkedin.getOrganization "12345678"
linkedin.createPost "urn:li:person:abc123" "Hello LinkedIn!" {"visibility": "PUBLIC"}
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/linkedin";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
linkedin.setToken "your-access-token"
linkedin.getProfile
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/facebook — Facebook module for complementary functionality@robinpath/instagram — Instagram module for complementary functionality@robinpath/twitter — Twitter/X module for complementary functionality@robinpath/tiktok — TikTok module for complementary functionality@robinpath/pinterest — Pinterest module for complementary functionalityMIT
FAQs
LinkedIn REST API v2 integration — post personal and company shares, look up profiles and organizations, list and delete shares. Uses the encrypted credential vault for OAuth 2.0 access tokens.
The npm package @robinpath/linkedin receives a total of 7 weekly downloads. As such, @robinpath/linkedin popularity was classified as not popular.
We found that @robinpath/linkedin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.