PostByUrl
A single LinkedIn post scraped from its own permalink by posts-by-url, keyed by the post's own URN. There is no profile field - the author arrives embedded in post.author.
Returned by
#Fields
| Field | Type | Notes |
|---|---|---|
_id | string | |
urn | string | urn:li:activity:<id>, urn:li:share:<id> or urn:li:ugcPost:<id>. |
shareUrn | string | Nullable. |
postUrl | string | The canonical URL LinkedIn reports for the post. |
requestedUrl | string | The URL you sent, with any query string and trailing slash stripped. In the webhook callback this is carried as url instead, and the callback omits _id, createdAt and updatedAt. |
post | object | The same shape as an entry in the posts array of the Activity schema, including media, article, mentions, isRepost and repostedPost. |
scrapedAt | string | ISO 8601. |
createdAt | string | ISO 8601. |
updatedAt | string | ISO 8601. |
#Sample
{
"_id": "string",
"urn": "string (urn:li:activity:<id>, urn:li:share:<id> or urn:li:ugcPost:<id>)",
"shareUrn": "string (nullable)",
"postUrl": "string (the canonical url LinkedIn reports for the post)",
"requestedUrl": "string (the url you sent, with any query string and trailing slash stripped)",
"post": "Activity post (the same shape as an entry in the Activity posts array above)",
"scrapedAt": "string (ISO 8601)",
"createdAt": "string (ISO 8601)",
"updatedAt": "string (ISO 8601)"
}