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

# Scrape Facebook profiles by URL

> Use the Bright Data Scraper API to collect Facebook profiles by URL. Calls the POST /datasets/v3/scrape endpoint and returns a snapshot ID.

## Query Parameters

**dataset\_id** `string` *required* (default: gd\_mf0urb782734ik94dz)

The dataset ID used for this request.

> [!WARNING]
>
> Must be set to `gd_mf0urb782734ik94dz` to collect **Facebook profiles** data.

**notify** `boolean` (default: false)

Whether to send notifications when the request is completed.

**include\_errors** `boolean` (default: true)

Whether to include errors in the response.

## Request Body

**input** `object[]` *required*

An array of input objects.

**properties**

**url** `string` *required*

The URL of the Facebook profile to collect.

#### Example

```json wrap theme={null}
{
  "input": [
    {"url": "https://www.facebook.com/zuck"},
    {"url": "https://www.facebook.com/sheryl"}
  ]
}
```

```json 200 theme={null}
[
  {
    "url": "https://www.facebook.com/GoramHomes/mentions/",
    "name": "Goram Homes",
    "id": "100090557460648",
    "profile_photo": "https://...",
    "cover_photo": "https://...",
    "work": null,
    "college": null,
    "high_school": null,
    "photos": null
  }
]
```
