# LinkedIn

Formats, media and text limits, options, inbox and analytics on LinkedIn.

Publish `feed` and `document` to LinkedIn, read every post's numbers, and answer comments. Set a target's `format`, or leave it out and Rizamo picks one from the files.

## Formats [#formats]

| Format | Files | Text |
| --- | --- | --- |
| `feed` | Text alone, 1 to 20 images, or 1 video | 3,000 |
| `document` | 1 PDF | 3,000 |

## Media [#media]

Rizamo takes JPEG, PNG, WebP, MP4, MOV and PDF files up to 4 GB. What LinkedIn takes:

- **Images:** JPEG or PNG, up to 4 GB, at most 36,152,320 pixels.
- **Video:** H.264 with AAC audio, 10 to 60 frames a second, up to 4,096 px wide.

| Format | Length | Size |
| --- | --- | --- |
| `feed` | 3 s to 30 min | up to 500 MB |

- **Documents:** a PDF up to 100 MB and 300 pages.

## What Rizamo does to files [#what-rizamo-does-to-files]

- **Images:** another type becomes JPEG or PNG; a larger file is compressed under 4 GB; a larger one is scaled down under 36,152,320 pixels.
- **Video:** one LinkedIn does not take as it is (its codec, frame rate, width or size) is converted to H.264 and AAC within those limits. Its length cannot change: a video too short or too long for the format is refused when it is attached.
- Your file itself never changes: the copy is made when the post goes out, and each target's `changes` says what was done.

## Text [#text]

- Up to 3,000, counted in characters: an emoji counts 1. Rizamo counts the same way, so `POST /v1/posts/validate` refuses what LinkedIn would.
- A first comment takes up to 1,248 characters.
- It shows as written: Rizamo escapes LinkedIn's reserved characters, and `#word` stays a hashtag.
- Mention a Page as `@[Name](urn:li:organization:<id>)`, its name as LinkedIn shows it. People are not mentioned.
- A link in a post with no files, poll or reshare gets a link card, from the page's Open Graph tags.

## Options [#options]

Under `options.linkedin` on a target. Each says which formats take it.

A Page where the person is a content admin posts text, polls, reshares and link cards without a picture: files, a first comment and `disableComments` need an administrator or a sponsored content poster there.

| Option | Type | What it does |
| --- | --- | --- |
| `title` | string | Documents (required) and videos: the title LinkedIn shows on the file. Not on other posts. |
| `poll` | object | Feed posts without files: a poll under the text. No link card goes with it, and nothing of it changes once it is live. |
| `thumbnailMediaId` | string | Videos: an image uploaded to Rizamo, by its media id, as the video's thumbnail. |
| `visibility` | `public`, `connections` | Profiles only: who sees the post, anyone (public, the default) or the person's connections. |
| `disableComments` | boolean | Turns comments off, right after the post goes out: LinkedIn takes it as a second call, which deletes any comment made in between, so not with a first comment. If that call fails, the post stays live with comments on and the target's `error` says so. |
| `disableReshare` | boolean | Stops other people from resharing the post. |
| `reshareOf` | string | Reshare a LinkedIn post, by its URN (a network post's `networkId`), with the target's text above it. No files, poll or title. |
| `callToAction` | object | Link posts only: a button on the post's link card that opens its link, the first link in the text. Not with files, a poll or a reshare: LinkedIn shows none on images, videos or documents. If Rizamo cannot read the link's page to make the card, the post goes without the button and the target's `error` says so. |

## First comment [#first-comment]

`firstComment` goes out right after the post, as a comment by the account, up to 1,248 characters. Not with `disableComments`, which deletes every comment once the post is live. One it would not take is refused when the post is made (`400`), with the reason. If it fails once the post is live, the post stays published.

## After publishing [#after-publishing]

- **Edits:** a live post's text can change: send the update with `applyToPublished`.
- **Deleting:** deleting a post takes it off LinkedIn when the account's `capabilities` include `delete_posts`. Each target's `removal` says what happened.

## Inbox [#inbox]

Comments on a Page's posts are read every 15 minutes for a post's first 48 hours, then when LinkedIn's count of them moves, and at least daily to day 14 and weekly to day 90. They are answered, liked and deleted as the Page.

- Replies to comments: up to 1,248 characters. They go out in the background: a reply is `sending`, then `sent` or `failed`.
- Messages: none. LinkedIn opens its messaging API to approved partners only.
- A profile's comments are not read: LinkedIn gives them to select developers only.
- An administrator or a sponsored content poster answers as the Page; a content admin's Page has no inbox.
- A commenter LinkedIn did not name to Rizamo shows as "LinkedIn member", with no picture.

| Action | People's comments | The account's own |
| --- | --- | --- |
| Hide | no | no |
| Delete | yes | yes |
| Like | yes | no |

## Comment automations [#comment-automations]

Comment automations work on Instagram accounts and Facebook Pages only.

## Daily caps [#daily-caps]

LinkedIn sets no cap Rizamo keeps to.

## Analytics [#analytics]

Days run on UTC. Views, likes and comments are read from a post's first hour; its other numbers come up to 48 hours late. LinkedIn stops updating a post's numbers a year after it goes out. On connecting, Rizamo reads back the posts of the last 12 months (up to 500) and 364 days of the account's numbers. [How Rizamo reads numbers](/analytics).

### Posts [#posts]

| Metric | LinkedIn's name | Formats | Note |
| --- | --- | --- | --- |
| `views` | `impressionCount` | all | Where LinkedIn gives it |
| `views` | `IMPRESSION` | all | Where LinkedIn gives it |
| `reach` | `uniqueImpressionsCount` | all | Where LinkedIn gives it |
| `reach` | `MEMBERS_REACHED` | all | Where LinkedIn gives it |
| `clicks` | `clickCount` | all | Where LinkedIn gives it |
| `clicks` | `LINK_CLICKS` | all | Where LinkedIn gives it |
| `likes` | `likeCount` | all | Where LinkedIn gives it |
| `likes` | `REACTION` | all | Where LinkedIn gives it |
| `comments` | `commentCount` | all | Where LinkedIn gives it |
| `comments` | `COMMENT` | all | Where LinkedIn gives it |
| `reposts` | `shareCount` | all | Where LinkedIn gives it |
| `reposts` | `RESHARE` | all | Where LinkedIn gives it |
| `video_views` | `VIDEO_VIEW` | all | Where LinkedIn gives it |
| `video_views` | `VIDEO_PLAY` | all | Where LinkedIn gives it |
| `video_viewers` | `VIEWER` | all | Where LinkedIn gives it |
| `video_viewers` | `VIDEO_VIEWER` | all | Where LinkedIn gives it |
| `watch_time` | `TIME_WATCHED_FOR_VIDEO_VIEWS` | all | Where LinkedIn gives it |
| `watch_time` | `VIDEO_WATCH_TIME` | all | Where LinkedIn gives it |
| `saves` | `POST_SAVE` | all | Where LinkedIn gives it |
| `shares` | `POST_SEND` | all | Where LinkedIn gives it |
| `follows` | `FOLLOWER_GAINED_FROM_CONTENT` | all | Where LinkedIn gives it |
| `profile_visits` | `PROFILE_VIEW_FROM_CONTENT` | all | Where LinkedIn gives it |
| `engagements` | Rizamo adds up `likes`, `comments`, `reposts`, `shares` and `saves` | all |  |

### Account [#account]

| Metric | LinkedIn's name | Note |
| --- | --- | --- |
| `reach` | `uniqueImpressionsCount` |  |
| `views` | `impressionCount` |  |
| `engagements` | `likes`, `comments`, `reposts`, `shares` and `saves` added up |  |
| `likes` | `likeCount` |  |
| `comments` | `commentCount` |  |
| `shares` | `POST_SEND` |  |
| `saves` | `POST_SAVE` |  |
| `reposts` | `shareCount` |  |
| `clicks` | `clickCount` |  |
| `profile_visits` | `allPageViews` |  |
| `follows` | `followerGains` |  |

Its audience: who follows the account, by country, market area, industry, job function, seniority and company size. A Page's only: LinkedIn gives no audience for a profile, and no breakdown of who engaged.

A profile's posts made outside Rizamo are not listed: LinkedIn lists a profile's own posts to select developers only. A profile's posts made through Rizamo have their numbers, with the follows and profile views each brought.
