SalesTouch Docs
All MCP tools
Read onlyExtraction

Scrape LinkedIn post comments

scrape_linkedin_post_comments

Extract people who wrote root comments on a LinkedIn post, with reply authors available explicitly.

When to use it

Extract the people who commented on a LinkedIn post, with resumable source pagination for large posts.

Required scopes
linkedin:accesssalestouch:use
Execution
Synchronous MCP tool call

Requirements

Provide one post target: post, post_id, post_url, or urn.

Example

Ask your agent

Extract everyone who commented on this LinkedIn post: https://www.linkedin.com/posts/example.

Tool arguments
{
  "post_url": "https://www.linkedin.com/posts/example",
  "preview_limit": 20
}
MCP response envelope
{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"data\": { ... },\n  \"meta\": null\n}"
    }
  ],
  "isError": false
}

Expected: A stored extraction with commenter profiles, an inline preview, and source_paging when LinkedIn has more comments.

Parameters

account_id
string

Connected SalesTouch account id, username, email, handle, or account URL.

queue
boolean

Set true to queue this action when it cannot run now.

postrequired
string

LinkedIn post id, activity URN, social id, or URL.

include_replies
boolean

Also extract people who replied to comments. Defaults to false because each reply thread requires additional LinkedIn requests.

source_cursor
string

Opaque continuation cursor returned by source_paging.next_cursor. Use it to resume LinkedIn comment extraction without starting over.

url
string

LinkedIn source URL.

limit
integer

Maximum items to extract.

preview_limit
integer

Maximum preview items to return inline. Defaults to 20.

Aliases are shown independently because MCP clients send a flat JSON object. Use one alias from each required group, not every alias.

Common errors

insufficient_scope

Reconnect the MCP and approve the requested LinkedIn permission.

paid_plan_required

Use a SalesTouch workspace with LinkedIn MCP access.

trial_payment_method_required

Add a payment method in SalesTouch billing to activate the trial and LinkedIn MCP access.