# Facebook Profiles Scraper (`icoe-man/facebook-profiles-scraper`) Actor

A facebook profile scraper for public pages: get category, followers, bio or the social accounts a page links to, from a page link or name. Export JSON, CSV or Excel.

- **URL**: https://apify.com/icoe-man/facebook-profiles-scraper.md
- **Developed by:** [Icoe Man](https://apify.com/icoe-man) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Profiles Scraper

Put public Facebook page details or the social accounts a page links to in a table you can download and use in other tools. Enter page links or names and choose Page details or Creator socials.

### What you get

Under **What to collect**, choose the type of results you want. Fill in the fields for that choice, then start the run. Each run returns one kind of result. The Actor ignores fields from other modes. Use full web addresses. If you have a short link, open it and copy the full address from your browser's address bar. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Collection modes

#### Page details

Get each Facebook page's category, bio, follower count, and other public details. In `profile-get` mode, fill in **Page links** (up to 100 entries), and **Include public contact details** (optional). You get one profile per entry. Each profile appears in its own row and counts as one **Page details result** charge.

Example result for one profile:

```json
{
  "status": "ok",
  "type": "profile",
  "platform": "facebook",
  "id": "100044561550831",
  "url": "https://www.facebook.com/nasa",
  "username": "nasa",
  "displayName": "Example User",
  "bio": "Explore the universe and discover our home planet. \nThere's space for everybody. ✨",
  "avatarUrl": "https://scontent.xx.fbcdn.net/fixture/07379ffdaff6.jpg",
  "verified": null,
  "followers": 28729222,
  "following": null,
  "externalUrl": null,
  "createdAt": "2009-03-04T00:00:00Z",
  "details": {
    "facebook": {
      "category": "Government organization",
      "likes": 28729222,
      "rating": null,
      "recommendPercent": 82,
      "reviewCount": 120172,
      "talkingAbout": 136327,
      "runsAds": false,
      "gender": null,
      "contact": {
        "emails": [],
        "phones": [
          "+1 000-000-0000"
        ],
        "address": "1 Test Street, Test City",
        "whatsapp": null,
        "openingHours": "monday: 10:30 AM - 5:30 PM"
      }
    }
  },
  "collectedAt": "2026-11-10T23:39:22Z",
  "input": {
    "url": "https://www.facebook.com/NASA",
    "maxItems": 1,
    "includeContact": true
  }
}
```

#### Creator socials

See which social accounts each Facebook page links to by entering the page name on its own or in a link (profile.php?id= links aren't accepted). In `creator-socials` mode, fill in **Page links** (up to 100 entries). You get one profile per entry. Each profile appears in its own row and counts as one **Creator socials result** charge.

Example result for one profile:

```json
{
  "status": "ok",
  "type": "profile",
  "platform": "facebook",
  "id": "nasa",
  "url": "https://www.facebook.com/nasa",
  "username": "nasa",
  "details": {
    "facebook": {
      "linkedProfiles": [
        {
          "platform": "youtube",
          "username": "example",
          "url": "https://www.example.com/",
          "confidence": 0.95
        }
      ],
      "websites": [
        "https://www.example.com/"
      ]
    }
  },
  "collectedAt": "2026-11-10T23:46:48Z",
  "input": {
    "url": "https://www.facebook.com/NASA",
    "maxItems": 1
  }
}
```

### Ways to use the data

- Considering a brand partnership? Check the brand's Facebook category, bio, and follower count.
- Compare competitors' Facebook follower counts and other page details side by side.
- See all the social accounts a Facebook page links to in one list.
- Fill in missing page names, links, and follower counts in your lists.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `mode` | What to collect | Choose one type of result per run, then fill in the fields for that choice. |
| `pageUrls` | Page links | Enter a Facebook page link (https://www.facebook.com/NASA) or the page name (NASA). |
| `includeContact` | Include public contact details | Off by default. Turn this on to include the page's email, phone, street address, WhatsApp number, and opening hours. Only details the page makes public will appear, so some fields may be blank. |
| `maxItems` | Result limit per target | Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Page details and Creator socials. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "mode": "profile-get",
  "pageUrls": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/natgeo"
  ],
  "maxItems": 1,
  "freshness": "standard"
}
```

### Your results

Each mode has its own view of the results table. See **Collection modes** for what each mode returns.

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`. If a required field for your mode is blank, the run returns one error row and collects no data.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Creator socials result | $47.548 | $35.750 | $35.750 | $35.750 | $35.750 | $35.750 |
| Page details result | $10.906 | $8.200 | $6.635 | $5.406 | $5.406 | $5.406 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 10 results per run and make up to 20 runs per day.

### Common questions

#### What do I get in each mode?

Page details returns the page name, bio, category, follower count, profile picture, and website. It also shows whether the page runs ads, how many reviews it has, and its star rating or the percentage of people who recommend it. Some rows are missing a rating, a "talking about" count, or gender. Turn on Include public contact details to add any email address, phone number, street address, WhatsApp number, and opening hours the page publishes. Some fields may be blank. None of the pages we tested returned an email address or WhatsApp number. Creator socials lists the social accounts the page links to, how sure the Actor is about each match, and any websites it finds for the page.

#### Do I need a Facebook account to use this Actor?

No. The Actor collects public information, so you don't need to sign in to Facebook or share browser cookies.

#### How do I limit my results, and what do I pay for?

Set Result limit per target to choose the most results you want from each page. You pay only for results you receive. Errors and empty results are free, and the run stops if it reaches your spending limit.

#### Can I enter a page name instead of the full link?

Yes. You can paste the full link or enter the page name that comes after facebook.com/ in the link. Creator socials needs that name in either format and doesn't accept profile.php?id= links.

#### Is this tool affiliated with Facebook or Meta?

No. This tool is independent. Facebook and Meta do not sponsor or endorse it, and it has no affiliation with either. It collects only information that's publicly visible on Facebook.

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by Facebook. All trademarks belong to their owners.

# Actor input Schema

## `mode` (type: `string`):

Choose one type of result per run, then fill in the fields for that choice.

## `pageUrls` (type: `array`):

Enter a Facebook page link (https://www.facebook.com/NASA) or the page name (NASA).

## `includeContact` (type: `string`):

Off by default. Turn this on to include the page's email, phone, street address, WhatsApp number, and opening hours. Only details the page makes public will appear, so some fields may be blank.

## `maxItems` (type: `integer`):

Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Page details and Creator socials.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "mode": "profile-get",
  "pageUrls": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/natgeo"
  ],
  "maxItems": 1,
  "freshness": "standard"
}
```

# Actor output Schema

## `results` (type: `string`):

See everything this run collected in one table.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "profile-get",
    "pageUrls": [
        "https://www.facebook.com/NASA",
        "https://www.facebook.com/natgeo"
    ],
    "maxItems": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/facebook-profiles-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "profile-get",
    "pageUrls": [
        "https://www.facebook.com/NASA",
        "https://www.facebook.com/natgeo",
    ],
    "maxItems": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/facebook-profiles-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "profile-get",
  "pageUrls": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/natgeo"
  ],
  "maxItems": 1
}' |
apify call icoe-man/facebook-profiles-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icoe-man/facebook-profiles-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zdhD30tSVOf9xCpm3/builds/eRrjC5wKfwwpI6aHW/openapi.json
