# Facebook Followers & Following Scraper (`saswave/facebook-followers-following-scraper`) Actor

$0.8 / 1000 results. Extract public followers and following lists from Facebook profile and Page. Download profile IDs, full names, URLs, profile pictures, and verification status. This Actor extracts clean, structured social network data at scale.

- **URL**: https://apify.com/saswave/facebook-followers-following-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Facebook Followers & Following Scraper

Extract public followers and following lists from Facebook profile and Page.

Download profile IDs, full names, URLs, profile pictures, and verification status directly to **JSON, CSV, or Excel**.

The **Facebook Followers & Following Scraper** automates the extraction of public connection networks on **[Facebook](https://www.facebook.com)**.

Whether you need to perform audience research, conduct competitive intelligence, map influencer connection networks, or build lead enrichment databases, this Actor extracts clean, structured social network data at scale.

### FEATURES

- 👥 **Dual Mode Scraping:** Extract both **Followers** and **Following** lists from public Facebook profiles and Pages.

- 🆔 **Complete Profile Identifiers:** Collect unique Facebook IDs (`id`), account types (`User` or `Page`), and direct profile URLs.

- 🖼️ **High-Quality Profile Pictures:** Retrieve full-size profile picture URLs for every extracted connection.

- ✔️ **Verification Status:** Instantly identify verified accounts (`is_verified`).

- ⚡ **High-Performance & Anti-Blocking:** Built with smart session management and Apify Proxy integration to navigate rate limits effortlessly.

- 📂 **Multi-Format Export:** Export clean datasets to **JSON, CSV, Excel (XLSX), XML, or HTML**.

### USE CASES

- **Audience Research & Profiling:** Analyze who follows your brand, competitors, or industry leaders to uncover demographic insights.

- **Influencer Network Mapping:** Map multi-tier creator relationships and identify overlapping audiences across key niche influencers.

- **Competitive Intelligence:** Track follower growth and connection patterns across competing businesses or public figures.

- **Lead Generation & Enrichment:** Gather social profiles for potential leads, prospects, or community members for targeted outreach.

### OUTPUT

Followers & Following

```json
{
  "id": "61561780803239",
  "type": "User",
  "is_verified": false,
  "name": "Poli Culture",
  "url": "https://www.facebook.com/people/Poli-Culture/61561780803239/",
  "image": "https://scontent.fnce2-1.fna.fbcdn.net/v/t39.30808-1/607069017_122182525604392693_2914200847568954704_n.jpg?stp=dst-jpg_tt6&cstp=mx1024x1024&ctp=s160x160&_nc_cat=101&ccb=1-7&_nc_sid=167101&_nc_ohc=PmY4esvXCPsQ7kNvwHyPx3C&_nc_oc=AdpLMHCuZmbKkY_nwAiDLc4jKpoBUFwXO4NCcXrwAbMXXKXXwTbmtkRYT87dhU3idWM&_nc_zt=24&_nc_ht=scontent.fnce2-1.fna&_nc_gid=jc6le1rEWmABRKmc3qGzyg&_nc_ss=7b289&oh=00_AQJ9RwNslZF5aXTSY9dRhS9P4woDNRmfWWXeIUco8I8poA&oe=6A9CCBA8"
}
```

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `feature` (type: `string`):

No description

## `text_search` (type: `string`):

For example if you want to collect only people named Kevin

## `pages` (type: `array`):

Provide public profile / page, for url https://www.facebook.com/Google provide Google

## `max_results` (type: `integer`):

0 or empty = no limit

## Actor input object example

```json
{
  "feature": "followers",
  "pages": [
    "Google"
  ],
  "max_results": 5
}
```

# Actor output Schema

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

No description

# 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 = {
    "text_search": "",
    "pages": [
        "Google"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/facebook-followers-following-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 = {
    "text_search": "",
    "pages": ["Google"],
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/facebook-followers-following-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 '{
  "text_search": "",
  "pages": [
    "Google"
  ]
}' |
apify call saswave/facebook-followers-following-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/facebook-followers-following-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/pNdQyVuVvK8eRc1W8/builds/2lFybtuAH9PpPoNkv/openapi.json
