Get reactions from a post
Retrieve reactions (likes, celebrates, etc.) from a LinkedIn post with pagination. Returns reactor profile information, reaction type, and timestamps. Useful for finding engaged users who reacted to content.
/posts/reactionsGet reactions from a post
Retrieve reactions (likes, celebrates, etc.) from a LinkedIn post with pagination. Returns reactor profile information, reaction type, and timestamps. Useful for finding engaged users who reacted to content.
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/posts/reactions' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"postUrl":"https://linkedin.com/posts/example-post"}'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 reactions from |
count | number | No | Number of reactions per page (default 10) |
start | number | No | Pagination offset (0-indexed) |
Example
{
"postUrl": "https://linkedin.com/posts/example-post"
}Responses
| Status | Description |
|---|---|
| 200 | Reactions retrieved successfully |
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.
Search posts by keyword
Search LinkedIn posts by keywords with filtering options. Find relevant content for engagement, monitor industry discussions, or discover trending topics. Filter by date posted, sort by relevance or recency, and target posts by author job titles.
