> ## 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.

# 按 URL 收集公司评论

## 查询参数

<ParamField query="dataset_id" type="string" default="gd_m0dtqpiu1mbcyc2g86" required>
  用于此请求的数据集 ID。

  <Warning>
    必须设置为 `gd_m0dtqpiu1mbcyc2g86` 以收集 **Facebook 公司评论**数据。
  </Warning>
</ParamField>

<ParamField query="notify" type="boolean" default={false}>
  请求完成时是否发送通知。
</ParamField>

<ParamField query="include_errors" type="boolean" default={true}>
  是否在响应中包含错误。
</ParamField>

## 请求体

<ParamField body="input" type="object[]" required>
  输入对象的数组。

  <Expandable title="properties">
    <ParamField body="url" type="string" required>
      Facebook 页面评论的 URL。
    </ParamField>

    <ParamField body="num_of_reviews" type="number">
      要收集的评论数量。缺少值表示无限制。
    </ParamField>
  </Expandable>

  #### 示例

  ```json wrap theme={null}
  {
    "input": [
      {"url": "https://www.facebook.com/PepsiCo/reviews/", "num_of_reviews": 50},
      {"url": "https://www.facebook.com/CocaCola/reviews/"}
    ]
  }
  ```
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "url": "https://www.facebook.com/PepsiCo/reviews/",
      "review_id": "pfbid02abc123def456",
      "reviewer_name": "John Smith",
      "reviewer_url": "https://www.facebook.com/john.smith.123",
      "rating": 5,
      "review_text": "Great company with excellent products and customer service.",
      "date_posted": "2026-03-15T14:30:00.000Z",
      "num_likes": 3,
      "company_name": "PepsiCo",
      "company_url": "https://www.facebook.com/PepsiCo",
      "company_rating": 4.2,
      "total_reviews": 1250
    }
  ]
  ```
</ResponseExample>
