ApiUncategorized
Get all comments from a post
Fetch all comments from a LinkedIn post in a single request. Automatically handles pagination internally. Ideal for bulk analysis of post engagement. Use for posts with many comments where you need complete data.
POST
/posts/comments/allGet all comments from a post
Fetch all comments from a LinkedIn post in a single request. Automatically handles pagination internally. Ideal for bulk analysis of post engagement. Use for posts with many comments where you need complete data.
Authentication requiredPosts
Code Examples
curl -X POST '/linkedin/posts/comments/all' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"postUrl":"string"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
postUrl | string | Yes | Full URL of the LinkedIn post to get all comments from |
batchSize | number | No | Number of comments to fetch per internal request |
maxComments | number | No | Maximum total comments to retrieve (safety limit) |
Example
{
"postUrl": "string"
}Responses
| Status | Description |
|---|---|
| 200 | All comments retrieved successfully |
