Pages in Guides

LinkedIn

LinkedIn is coming soon: until it opens, posting to it answers 403 PLATFORM_COMING_SOON. When it opens, LinkedIn posts publish as the connected member: text-only, up to 20 images, one video, or an article (a link with an optional thumbnail image), with an optional first comment. Organization pages and LinkedIn analytics are not part of it.

  • options.linkedin accepts text, visibility (PUBLIC or CONNECTIONS), isReshareDisabledByAuthor, articleTitle, articleDescription and videoTitle.
  • Alt text goes on each image: media[].altText.
  • Article fields need linkUrl; an article cannot carry a video or more than one image.
  • videoTitle needs a video, and images and videos cannot be mixed.
Images with alt text
{
  "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
    }
  }
}
Article
{
  "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"
    }
  }
}
Video
{
  "targets": [
    {
      "platforms": [
        "linkedin"
      ]
    }
  ],
  "text": "A two-minute tour of Ampost.",
  "media": [
    {
      "url": "https://cdn.example.com/demo.mp4",
      "type": "video",
      "durationSeconds": 38,
      "thumbnailUrl": "https://cdn.example.com/demo-thumb.jpg"
    }
  ],
  "options": {
    "linkedin": {
      "videoTitle": "Ampost tour",
      "visibility": "CONNECTIONS"
    }
  }
}