> ## 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_lyclm1571iy3mv57zw" required>
  用于此请求的数据集 ID。

  <Warning>
    必须设置为 `gd_lyclm1571iy3mv57zw` 以收集 **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>
  </Expandable>

  #### 示例

  ```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/share/v/17yf2ZfpHp/",
      "post_id": "1528075055988555",
      "user_url": "https://www.facebook.com/thetoyinsider",
      "user_username_raw": "The Toy Insider",
      "content": "Hatchin' Yoshi is our whole personality until further notice. Hitting stores next month!",
      "date_posted": "2026-02-14T21:28:45.000Z",
      "num_comments": 966,
      "num_shares": 3500,
      "num_likes_type": [{ "num": 23800, "type": "Like" }],
      "profile_id": "100063582250570",
      "page_logo": "https://...",
      "page_likes": null,
      "page_followers": 36000,
      "page_is_verified": false,
      "attachments": [
        {
          "attachment_url": "https://...",
          "id": "1473877017491895",
          "type": "video",
          "url": "https://www.facebook.com/reel/1473877017491895",
          "video_length": "125767",
          "video_url": "https://..."
        }
      ],
      "page_url": "https://www.facebook.com/thetoyinsider",
      "profile_handle": "thetoyinsider",
      "is_sponsored": false,
      "video_view_count": 2300000,
      "likes": 23800,
      "post_type": "Post",
      "play_count": null
    }
  ]
  ```
</ResponseExample>
