ConnectSafely LinkedIn icon

ConnectSafely LinkedIn

Comprehensive LinkedIn automation - actions, posts, profiles, organizations, and groups

Get Post Comments

AI-generated

Summary

Retrieve comments from a LinkedIn post with manual or token-based pagination options.

Inputs

  • postUrl (required) — The full URL of the LinkedIn post to retrieve comments for.
  • accountId — LinkedIn account ID to perform the request from; uses default if omitted.
  • commentCount — Number of comments to request per page (1-100, default: 50).
  • start — 0-based offset position for manual pagination.
  • paginationToken — Pagination token returned from a previous request to retrieve the next page.
  • maxComments — Maximum total comments to fetch across the query (default: 100).
  • batchSize — Batch size per API request during comment retrieval (default: 50).

Output shape

a single record

Returns a JSON object from the ConnectSafely API containing retrieved post comments along with pagination details.

Examples

Example 1: Fetch initial batch of post comments

Set 'Post URL' to the target post URL, leave 'Start Position' at 0 and 'Comment Count' at 50.

Example 2: Retrieve next page using a pagination token

Set 'Post URL' to the post URL and pass the 'Pagination Token' returned from the previous request.

Discussion