# LinkedIn

Source: https://ampost.io/docs/linkedin-posts · Full reference: https://ampost.io/llms-full.txt

## LinkedIn

LinkedIn is coming soon: until it opens, posting to it answers 403 `PLATFORM_COMING_SOON`. The options below apply once it does.

`options.linkedin` accepts `text`, `visibility` (`PUBLIC` or `CONNECTIONS`), `isReshareDisabledByAuthor`, `articleTitle`, `articleDescription` and `videoTitle`. Alt text goes on each image as `media[].altText`. Article fields need `linkUrl`; an article cannot carry a video or more than one image; `videoTitle` needs a video; images and videos cannot be mixed.

```json
{
  "targets": [
    {
      "platforms": [
        "linkedin"
      ]
    }
  ],
  "text": "Three screens from the new dashboard.",
  "media": [
    {
      "url": "https://cdn.example.com/compose.png",
      "type": "image",
      "altText": "Compose screen"
    },
    {
      "url": "https://cdn.example.com/posts.png",
      "type": "image",
      "altText": "Posts list"
    },
    {
      "url": "https://cdn.example.com/sets.png",
      "type": "image",
      "altText": "Platform sets"
    }
  ],
  "options": {
    "linkedin": {
      "isReshareDisabledByAuthor": false
    }
  }
}
```

```json
{
  "targets": [
    {
      "platforms": [
        "linkedin"
      ]
    }
  ],
  "text": "Our API reference is live.",
  "linkUrl": "https://ampost.io/docs",
  "options": {
    "linkedin": {
      "articleTitle": "Ampost API reference",
      "articleDescription": "Endpoints, options and limits for every platform.",
      "visibility": "PUBLIC"
    }
  }
}
```

### LinkedIn

- To post to LinkedIn, name `linkedin` in `targets[].platforms`; its settings go in `options.linkedin`.
- Text up to 3000 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 1250 characters.
- Thread: not supported.
- Alt text (`media[].altText`): up to 4086 characters on images.
- Media: optional; image and video, up to 20 items, not mixed.
- Media sent as is within: image jpeg/png, ≤ 6000 px; video h264, ≤ 500 MB, ≤ 4096 px, 10-60 fps, 1:2.4 to 2.4:1, 3-1800 s.
- Options: `text`, `firstComment`, `visibility`, `isReshareDisabledByAuthor`, `articleTitle`, `articleDescription`, `videoTitle`.
- LinkedIn is coming soon (`availability: coming_soon` in `GET /api/platforms`): it is listed, but for accounts it is not open to yet, connecting it, posting to it and reading its posts or analytics answer 403 `PLATFORM_COMING_SOON`; tell the user it is not available yet. LinkedIn is member-profile publishing only: no organization or Page posting or analytics. The first comment is posted as the member.
