ActivityTargetPost
The post a comment or reaction was left on, as a stub.
Fields #
| Field | Type | Notes |
|---|---|---|
urn | string | The activity's numeric id, with the urn:li:activity: prefix stripped - the id, not the full urn. Reconstruct it yourself as urn:li:activity:<id> if you need the prefixed form, or pass the bare id to posts/enrich for the full record. |
url | string | |
text | string | |
author_name | string | |
author_url | string | |
author_headline | string | |
posted_at | string (RFC 3339) | Decoded from the activity id, which encodes a Unix millisecond timestamp in its top bits, because the feed carries no timestamp field of its own. Absent when the date could not be decoded, rather than present and wrong. |
reaction_count | integer | |
comment_count | integer | |
repost_count | integer |
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 #
{
"urn": "7000000000000000000",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7000000000000000000/",
"author_name": "Supercell",
"author_headline": "Video game developer",
"posted_at": "2026-08-28T09:11:00Z",
"reaction_count": 412,
"comment_count": 38,
"repost_count": 12
}