> ## Documentation Index
> Fetch the complete documentation index at: https://v3.captaindata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract LinkedIn Post Commenters

> Extract LinkedIn profiles, comments, and names of everyone who commented on a LinkedIn post.

Source valuable information from all individuals who have commented on a LinkedIn post. Provide one or multiple LinkedIn post URLs, and this action will extract all useful information regarding the profiles that have commented on the content.

**Use Cases:**

* Generate leads by social listening.
* Use the LinkedIn People Profile to extract information from the sourced LinkedIn profiles and qualify your leads.
* Use LinkedIn Auto Connect to connect with the sourced leads and initiate a relationship to begin lead nurturing.

<Steps>
  <Step title="Navigate to a LinkedIn Post">
    Copy the URL from your browser.
  </Step>

  <Step title="Paste the URL">Paste it into the provided field(s).</Step>
</Steps>

<Info>
  You can add as many URLs as you want. A post URL looks like
  <code>[https://www.linkedin.com/feed/update/urn:li:activity:POST\_ID](https://www.linkedin.com/feed/update/urn:li:activity:POST_ID)</code> or
  <code>[https://www.linkedin.com/posts/POST\_ID](https://www.linkedin.com/posts/POST_ID)</code>.
</Info>

### Inputs

<ParamField path="linkedin_post_url" type="string" required={true} primary={true}>
  A LinkedIn Post URL should start with "[https://www.linkedin.com/posts/](https://www.linkedin.com/posts/)".
</ParamField>

### Parameters

<ParamField path="max_results" type="number" default={100} minimum={1} maximum={1000}>
  The maximum number of comments to extract from a single post (up to 1000).
</ParamField>

### Output Fields

The extracted data includes the following fields:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="comment_like_count" type="integer">
      The number of likes on the comment
    </ResponseField>

    <ResponseField name="comment_reply_count" type="integer">
      The number of replies to the comment
    </ResponseField>

    <ResponseField name="comment_text" type="string">
      The text of the comment
    </ResponseField>

    <ResponseField name="comment_time" type="string">
      The time the comment was made
    </ResponseField>

    <ResponseField name="first_name" type="string">
      The first name of the commenter
    </ResponseField>

    <ResponseField name="full_name" type="string">
      The full name of the commenter
    </ResponseField>

    <ResponseField name="last_name" type="string">
      The last name of the commenter
    </ResponseField>

    <ResponseField name="last_reply" type="string">
      The last reply to the comment
    </ResponseField>

    <ResponseField name="linkedin_comment_id" type="string">
      The ID of the LinkedIn comment
    </ResponseField>

    <ResponseField name="linkedin_comment_url" type="string">
      The URL of the LinkedIn comment
    </ResponseField>

    <ResponseField name="linkedin_connection_degree" type="string">
      The connection degree on LinkedIn
    </ResponseField>

    <ResponseField name="linkedin_post_id" type="string">
      The ID of the LinkedIn post
    </ResponseField>

    <ResponseField name="linkedin_post_url" type="string">
      The URL of the LinkedIn post
    </ResponseField>

    <ResponseField name="linkedin_profile_handle" type="string">
      The LinkedIn profile handle
    </ResponseField>

    <ResponseField name="linkedin_profile_id" type="string">
      The ID of the LinkedIn profile
    </ResponseField>

    <ResponseField name="linkedin_profile_picture" type="string">
      The URL of the LinkedIn profile picture
    </ResponseField>

    <ResponseField name="linkedin_profile_url" type="string">
      The URL of the LinkedIn profile
    </ResponseField>

    <ResponseField name="summary" type="string">
      The summary of the LinkedIn profile
    </ResponseField>
  </Expandable>
</ResponseField>

Below is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
    "comment_like_count": "integer",
    "comment_reply_count": "integer",
    "comment_text": "string",
    "comment_time": "string",
    "first_name": "string",
    "full_name": "string",
    "last_name": "string",
    "last_reply": "string",
    "linkedin_comment_id": "string",
    "linkedin_comment_url": "string",
    "linkedin_connection_degree": "string",
    "linkedin_post_id": "string",
    "linkedin_post_url": "string",
    "linkedin_profile_handle": "string",
    "linkedin_profile_id": "string",
    "linkedin_profile_picture": "string",
    "linkedin_profile_url": "string",
    "summary": "string"
  }
  ```
</Accordion>

<Note>
  Ensure the LinkedIn post URL is correctly formatted to avoid errors during
  extraction.
</Note>
