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

# Collect Facebook comments by URL

## Query Parameters

<ParamField query="dataset_id" type="string" default="gd_lkay758p1eanlolqw8" required>
  The dataset ID used for this request.

  <Warning>
    Must be set to `gd_lkay758p1eanlolqw8` to collect **Facebook comments** data.
  </Warning>
</ParamField>

<ParamField query="notify" type="boolean" default={false}>
  Whether to send notifications when the request is completed.
</ParamField>

<ParamField query="include_errors" type="boolean" default={true}>
  Whether to include errors in the response.
</ParamField>

## Request Body

<ParamField body="input" type="object[]" required>
  An array of input objects.

  <Expandable title="properties">
    <ParamField body="url" type="string" required>
      The URL of the Facebook post to collect comments from.
    </ParamField>
  </Expandable>

  #### Example

  ```json wrap theme={null}
  {
    "input": [
      {"url": "https://www.facebook.com/NASA/posts/1234567890"},
      {"url": "https://www.facebook.com/Meta/posts/9876543210"}
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "url": "https://www.facebook.com/Pagina12ok/posts/pfbid0...",
      "post_id": "1287876623560800",
      "post_url": "https://www.facebook.com/Pagina12ok/posts/pfbid0...",
      "comment_id": "Y29tbWVudDox...",
      "user_name": "Norma Ester Mercado",
      "user_id": "pfbid0...",
      "user_url": "https://www.facebook.com/normaester.mercado.1",
      "date_created": "2026-04-02T23:46:29.000Z",
      "comment_text": "Great post, thanks for sharing!",
      "num_likes": 1,
      "num_replies": 0,
      "attached_files": null,
      "type": "Comment",
      "reply": true,
      "parent_comment_id": "Y29tbWVudDox..."
    }
  ]
  ```
</ResponseExample>
