PostMedia

One image, video or document attached to a post.

Returned byPost.media

Fields #

FieldTypeNotes
typestringimage, video or document.
urlstring
thumbnail_urlstring
titlestringSet on a document.
duration_msintegerSet on a video.

Absent is not null: a field we did not get is omitted rather than sent as an empty string, so you can tell "LinkedIn does not have this" from "this person left it blank".

Sample #

JSON
{
  "type": "image",
  "url": "https://media.licdn.com/dms/image/...",
  "thumbnail_url": "https://media.licdn.com/dms/image/..."
}