List comments on a LinkedIn post
Read the loaded comments on one LinkedIn post.
comments.list · $0.01 per completed request
When to use it
Use it to see who commented on a post and what they said.
Request
| Field | Type | Notes |
|---|---|---|
url | string required | post.get/comments.list/reactions.list: absolute HTTPS LinkedIn /feed/update/urn:li:activity:<digits>/. Profile/company operations also accept matching relative paths. its identifier and destination must not be reconstructed from a URN. |
HTTP, against the local API:
POST http://127.0.0.1:3447/v1/operations/comments.list
Authorization: Bearer <local-token>
Content-Type: application/json
{
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/"
}
The same request through the CLI, which adds the local token for you:
relay comments https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/
Response
The result has operation, account, data, source and completeness. See Results. Fields in data:
| Field | Type | Notes |
|---|---|---|
postUrl | string required | |
items | array of object required | |
items[].commentUrn | string required | Source comment URN, unique in this window and bound to the requested activity. |
items[].author | object | null required | Owned menu name and one immediate-header member URL; body mentions cannot supply the author. |
items[].author.name | string required | |
items[].author.profileUrl | string required | |
items[].text | string required | Exact loaded page text, including line breaks; no complete-content claim. |
items[].dateText | string | null required | Observed relative-date text in the immediate header, without date conversion. |
items[].moreAvailable | true | null required | True for a visible owned text expansion control; otherwise unproved. |
items[].clippedOnScreen | boolean | null required | Measured text-region overflow, or null when not measurable. |
items[].commentUrl | null required | |
items[].parentCommentUrn | null required |
For the exact contract, run relay schema.
Price
$0.01 per completed request. No subscription. Known failures are not charged. The $5 welcome credit covers 500 requests.
Other operations
Get a LinkedIn profile · Get a LinkedIn company · List people at a LinkedIn company · Search LinkedIn people · Search LinkedIn companies · List your LinkedIn connections · List LinkedIn invitations · List LinkedIn conversations · Read a LinkedIn conversation · Send a LinkedIn message · List LinkedIn posts by a member or company · Get a LinkedIn post · List reactions on a LinkedIn post · Read your LinkedIn feed · List LinkedIn notifications