> ## 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 People Comment Activity

> This action extracts all comment activities from a LinkedIn profile.

This action allows you to extract recent comment activities from a LinkedIn profile. It is useful for tracking engagement and interactions on LinkedIn posts.

### Inputs

<ParamField path="linkedin_profile_url" type="string" required={true} primary={true}>
  The URL of the LinkedIn profile from which to extract comment activities.
</ParamField>

### Parameters

<ParamField path="max_results" type="number" default={100}>
  The maximum number of comments to extract. The value can range from 1 to
  30,000.
</ParamField>

<ParamField path="max_days" type="number" default={0}>
  Specifies the maximum number of days from which data will be extracted. A
  value of 0 disables this setting.
</ParamField>

<ParamField path="max_minutes" type="number" default={0}>
  Specifies the maximum number of minutes from which data will be extracted. A
  value of 0 disables this setting.
</ParamField>

### Output Fields

The extracted data includes the following fields:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="author_comment_reply" type="string">
      The reply from the comment author
    </ResponseField>

    <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 content of the comment
    </ResponseField>

    <ResponseField name="comment_time" type="string">
      The timestamp of the comment
    </ResponseField>

    <ResponseField name="comment_type" type="string">
      The type of comment
    </ResponseField>

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

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

    <ResponseField name="linkedin_post_id" type="string">
      The unique 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_url" type="string">
      The LinkedIn profile URL
    </ResponseField>
  </Expandable>
</ResponseField>

Below is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
      "author_comment_reply": "string",
      "comment_like_count": "integer",
      "comment_reply_count": "integer",
      "comment_text": "string",
      "comment_time": "string",
      "comment_type": "string",
      "linkedin_comment_id": "string",
      "linkedin_comment_url": "string",
      "linkedin_post_id": "string",
      "linkedin_post_url": "string",
      "linkedin_profile_handle": "string",
      "linkedin_profile_url": "string"
  }
  ```
</Accordion>

### Specificities

<Steps>
  <Step title="How to get the LinkedIn profile URL">
    1. Retrieve it from a previous action such as Search LinkedIn People . 2.
       Manually find it on LinkedIn by visiting the person's profile and copying
       the URL from your browser.
  </Step>
</Steps>

<Info>
  To limit the number of comments based on the time they were posted, use the
  'max\_minutes' parameter. For example, setting 'max\_minutes' to 60 will collect
  comments made in the last hour.
</Info>
