get_comments_official
Retrieve comments from LinkedIn posts using the Official API to analyze engagement and enable direct replies.
Instructions
Get comments on a LinkedIn post using the Official API.
Requires "Community Management API" product enabled in your LinkedIn Developer app.
Args: post_urn: The URN of the post (e.g., "urn:li:share:123456" or "urn:li:ugcPost:123456") start: Pagination start index (default: 0) count: Number of comments to return (default: 50, max: 100)
Returns list of comments with: - id: Comment ID - urn: Full comment URN (use this as parent_comment_urn to reply) - actor_urn: URN of the comment author - actor_name: Name of the comment author (if available) - text: Comment text content - parent_comment: URN of parent comment if this is a reply - created_at: Timestamp when comment was created
Use the returned comment URN as parent_comment_urn in create_comment to reply to a comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_urn | Yes | ||
| start | No | ||
| count | No |