# LinkedIn

LinkedIn is a professional networking platform enabling job seekers, companies, and thought leaders to connect, share content, and discover business opportunities

- **Category:** social media accounts
- **Auth:** OAUTH2
- **Tools:** 11
- **Triggers:** 0
- **Slug:** `LINKEDIN`
- **Version:** 20260211_00

## Frequently Asked Questions

### How do I set up custom OAuth credentials for LinkedIn?

For a step-by-step guide on creating and configuring your own LinkedIn OAuth credentials with Devcaster, see [How to create OAuth credentials for LinkedIn](https://devcaster.dev/auth/linkedin).

### Why am I getting 429 rate limit errors on LinkedIn?

The default OAuth app is shared across users and has strict rate limits. Use your own OAuth app for production to avoid shared quotas.

### Why can't I use certain LinkedIn scope combinations?

LinkedIn restricts certain scope combinations. For example, `w_member_social` and `r_organization_admin` cannot be used together. If you need conflicting scopes, create your own OAuth app with the required permissions.

---

## Tools

### Create comment on LinkedIn post

**Slug:** `LINKEDIN_CREATE_COMMENT_ON_POST`

Tool to create a first-level or nested comment on a LinkedIn share, UGC post, or parent comment via the Social Actions Comments API. Use when you need to engage with posts by adding comments or replying to existing comments. Supports text comments with optional @-mentions and image attachments.

### Create a LinkedIn post

**Slug:** `LINKEDIN_CREATE_LINKED_IN_POST`

Creates a new post on LinkedIn for the authenticated user or an organization they manage. Requires w_member_social scope for posting as a person, and w_organization_social scope for posting as an organization (with ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER, or CONTENT_ADMIN role).

### Delete LinkedIn Post

**Slug:** `LINKEDIN_DELETE_LINKED_IN_POST`

Deletes a specific LinkedIn post (share) by its unique `share_id`, which must correspond to an existing share.

### Delete UGC Post (Legacy)

**Slug:** `LINKEDIN_DELETE_UGC_POST`

Delete a UGC post using the legacy UGC Post API endpoint. Use when you need to delete a post using the v2/ugcPosts endpoint. Deletion is idempotent - previously deleted posts also return success.

### Delete UGC Post

**Slug:** `LINKEDIN_DELETE_UGC_POSTS`

Deletes a UGC post by its URN identifier. Use when you need to remove a UGC post from LinkedIn.

### Get company info

**Slug:** `LINKEDIN_GET_COMPANY_INFO`

Retrieves organizations where the authenticated user has specific roles (ACLs), to determine their management or content posting capabilities for LinkedIn company pages.

### Get images

**Slug:** `LINKEDIN_GET_IMAGES`

Tool to retrieve image metadata including download URLs, status, and dimensions from LinkedIn's Images API. Use when you need to access image details for posts, profiles, or media library assets.

### Get my info

**Slug:** `LINKEDIN_GET_MY_INFO`

Fetches the authenticated LinkedIn user's profile information including name, headline, profile picture, and other profile details.

### Get video details

**Slug:** `LINKEDIN_GET_VIDEO`

Tool to retrieve details of a LinkedIn video using its URN. Use when you need to check video status, get download URLs, or access video metadata.

### Get videos

**Slug:** `LINKEDIN_GET_VIDEOS`

Retrieves video metadata from LinkedIn Marketing API. Supports single video retrieval, batch retrieval (multiple videos), and finding videos by associated account with pagination. Use when you need to get video details including duration, dimensions, status, download URLs, and media library information.

### Register image upload

**Slug:** `LINKEDIN_REGISTER_IMAGE_UPLOAD`

Tool to initialize a native LinkedIn image upload for feed shares and return a presigned upload URL plus the resulting digital media asset URN. Use when you need to upload an image to attach to a LinkedIn post. After calling this tool, upload the image bytes to the returned upload_url, then use the asset_urn in LINKEDIN_CREATE_LINKED_IN_POST.
