# Facebook Profile Albums Scraper (`socialdataapi/facebook-profile-albums-scraper`) Actor

Facebook Profile Albums Scraper lists the albums of any public Facebook profile or page: title, cover photo, media count, privacy, owner, contributors and link, one row per album. No login needed. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/socialdataapi/facebook-profile-albums-scraper.md
- **Developed by:** [Social Data API](https://apify.com/socialdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Profile Albums Scraper — Album Titles, Covers, Counts and Privacy

Facebook Profile Albums Scraper lists the albums of a public Facebook profile or page — one row per album, never per photo. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a social-listening pipeline. **No Facebook account, login or cookies needed.** Start with one profile, then run as many as you need in one job.

![Facebook Profile Albums Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/ac-facebook-albums-hero.webp)

***

### What data can I extract with Facebook Profile Albums Scraper?

Using this Facebook Album API, you will be able to extract the following Facebook album data:

| 🏷️ Title & link | 🖼️ Cover photo | 🔢 Photo/video count | 🔒 Privacy setting |
|---|---|---|---|
| 👤 Owner (name & id) | 📝 Description | 👥 Contributors | 🆔 Album id |

***

### How to use Facebook Profile Albums Scraper

Social-media analysts, researchers and agencies get one clean JSON row per album, for as many profiles or pages as they list in one run.

**Copy to your AI assistant:**

```text
`socialdataapi/facebook-profile-albums-scraper` is an Apify Actor (Apify Actor ID: socialdataapi/facebook-profile-albums-scraper, https://apify.com/socialdataapi/facebook-profile-albums-scraper) that returns the albums of a public Facebook profile or page as structured JSON: album title, cover photo, photo/video count, privacy setting, description, contributors, owner name and id, and the album URL. Use it whenever someone needs a profile's album list without logging in or opening a browser - social-media audits, competitive content research, feeding a RAG pipeline. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/socialdataapi~facebook-profile-albums-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"startUrls":["https://www.facebook.com/humansofnewyork"],"maxItems":20}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("socialdataapi/facebook-profile-albums-scraper").call(run_input={"startUrls": ["https://www.facebook.com/humansofnewyork"]}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: startUrls (array of strings, profile/page URLs or a direct album URL, required), maxItems (integer, albums returned per URL, default 20), enrichAlbums (boolean, fetches privacy/description/contributors/exact count per album, default true), proxyConfiguration (object, optional starting proxy, default none). Facebook does not expose an album's creation date to logged-out visitors, so `created_date` is always null. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/socialdataapi~facebook-profile-albums-scraper/builds/default
```

#### Facebook Profile Albums Scraper MCP Server: use this Actor from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read a profile's Facebook albums on its own: no glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/facebook-profile-albums-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Facebook Profile Albums Scraper](https://apify.com/socialdataapi/facebook-profile-albums-scraper) in the Apify Store.
3. Paste the Facebook profile or page URL (or a direct album URL).
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Facebook Profile Albums Scraper to bulk

Put every profile or page you need into the **Facebook URLs** list: each one is listed separately, with its own `maxItems` albums. 5 profiles x 20 albums each = up to 100 rows, and each profile is paged automatically until it hits that limit or its albums run out.

***

### ✨ Features

Facebook Profile Albums Scraper fetches clean, structured album data from Facebook ⚡ at low cost 💸. It's ideal for social-media content audits, competitive research and brand-monitoring pipelines.

It extracts, per album:

- **Title & link** – the album's name and its direct Facebook URL.
- **Cover photo & count** – the cover image and the exact (or rounded, when enrichment is off) photo/video count.
- **Privacy & contributors** – who can see the album and who else can add to it, when Facebook renders them.
- **Owner** – the profile or page name and id that the album belongs to.
- **Direct-album support** – paste a single album URL instead of a profile to get just that one row.

⚡ Pages through a profile's full album list automatically and enriches albums in parallel, so a profile with hundreds of albums still reaches your `maxItems` limit quickly.

***

### Use cases 💡

- **Social-media analyst** — audit a brand page's album titles and photo counts over time.
- **Researcher** — compare album privacy settings across public pages at scale.
- **Agency** — pull a competitor's full album list and cover images for a content review.
- **Archivist** — build a catalog of a page's albums and links without opening Facebook manually.
- **AI-agent builder** — feed matching albums into a RAG pipeline or a social-listening agent.

Building an AI agent? [Connect Facebook Profile Albums Scraper over MCP](#facebook-profile-albums-scraper-mcp-server-use-this-actor-from-chatgpt-claude-or-cursor) and let it call the actor on its own.

***

### Why choose this actor?

- **Every URL gets its own quota.** `maxItems` applies to each profile or page separately, not a shared total — a broad profile never starves a smaller one, and a direct album URL works exactly like any other input.
- **More fields than other Facebook album scrapers on Apify Store.** A recorded run also filled privacy, description and contributors/owner — fields other same-scope actors on Apify Store leave out entirely.
- **Built-in proxy escalation.** The actor starts without a proxy and moves to a stronger one on its own when a page is refused, so a blocked request doesn't end the run.

***

### ⬇️ Input

![Facebook Profile Albums Scraper input form with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/ac-facebook-albums-input.webp)

The actor takes one or more Facebook URLs in **Facebook URLs** — a profile/page URL (any tab, or no tab) or a direct album URL.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `startUrls` | Yes | array | Profile/page URLs or a direct album URL; each gets its own `maxItems` albums. | `["https://www.facebook.com/humansofnewyork"]` |
| `maxItems` | No | integer | Max albums returned per URL. Default `20`. | `20` |
| `enrichAlbums` | No | boolean | One extra fetch per album for privacy, description, contributors and the exact count. Default `true`. | `true` |
| `proxyConfiguration` | No | object | Optional proxy to start with. Default: direct connection; the actor switches to a proxy by itself when blocked. | `{"useApifyProxy": false}` |

#### Free plan limits

Users on the Apify free plan can get up to 20 albums per run (all URLs together) and 200 albums per month. When the limit is reached the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "startUrls": ["https://www.facebook.com/humansofnewyork"],
  "maxItems": 20,
  "enrichAlbums": true,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

***

### ⬆️ Output

![Facebook Profile Albums Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/ac-facebook-albums-output.webp)

Every album becomes its own row, with the same JSON schema on every run. Export the results as JSON (default), CSV or Excel, or open the Overview and Details views in the Output tab. A URL that could not be read (private, removed or blocked) comes back as an uncharged error row (`success: false`, with an `input_url` and `error` message) instead of a stored result.

#### Example output

```json
[
  {
    "success": true,
    "id": "755664696124522",
    "item_id": "YXBwX2l0ZW06MTAwMDUwNDI5OTUyNDIwOjIzMDUyNzI3MzI6Njo6NzU1NjY0Njk2MTI0NTIy",
    "title": "Photos",
    "subtitle": "10,975 items",
    "media_count": 10975,
    "url": "https://web.facebook.com/media/set/?set=a.755664696124522&type=3",
    "cover_image": "https://scontent.fdac2-2.fna.fbcdn.net/v/t39.99422-6/846467687_...jpg",
    "owner_id": "100050429952420",
    "owner_name": "Humans of New York",
    "description": null,
    "privacy": "Custom",
    "created_date": null,
    "contributors": [{ "id": "100050429952420", "name": "Humans of New York", "type": "User" }],
    "cursor": "AQHTDw-hvyADLV2DbZOk8jIWlEEdFDkrWpiPVDTceM-G4NQ3dmoux2piyCmpf4HeAdLg",
    "input_url": "https://www.facebook.com/humansofnewyork",
    "enriched": true,
    "error": null
  }
]
```

`created_date` is always `null` — Facebook does not expose an album's creation date to logged-out visitors, on either the listing page or the album's own page. A field Facebook does not serve for a given album (description, privacy on a non-enriched row) comes back `null` — never a guessed value.

***

### How does it work?

Facebook Profile Albums Scraper reads only public data — what any visitor sees without logging in. It reads the same public pages Facebook's own site loads, no browser needed. If a page is refused, it retries and switches to a stronger proxy by itself, escalating in steps until the page loads. Matching albums are saved the moment each one finishes loading, and per-album enrichment (privacy, description, contributors, exact count) runs in parallel. The output schema stays stable even when Facebook changes the look of its pages.

***

### How do you integrate Facebook Profile Albums Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Facebook Profile Albums Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/socialdataapi~facebook-profile-albums-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"startUrls": ["https://www.facebook.com/humansofnewyork"], "maxItems": 20},
)
for album in resp.json():
    print(album["title"], album.get("media_count"))
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Add the actor to your agent with one command:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/facebook-profile-albums-scraper"
```

This registers Facebook Profile Albums Scraper as a tool your agent can call directly. It works in Claude Code, Cursor, Windsurf and any other MCP client: ask for a page's albums and the agent runs the actor and reads the JSON it returns.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node with "Run an Actor" and pick `socialdataapi/facebook-profile-albums-scraper`, or point the HTTP Request node at the run-sync endpoint with your token.
- **Make** — add the Apify app's "Run an Actor" module, then "Get Dataset Items" to map albums into your sheet or CRM.
- **LangChain** — install `langchain-apify` and use `ApifyActorsTool("socialdataapi/facebook-profile-albums-scraper")` as a tool in your agent.

***

### Is it legal to scrape Facebook data?

Scraping publicly available Facebook data is generally legal when you collect only what any visitor can see. Facebook Profile Albums Scraper returns only public album data — what any user sees on the profile's own page without logging in. Under GDPR, scraping public data is generally permissible, but storing and using it, especially details tied to real people, must comply with your local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Facebook Profile Albums Scraper return?

It returns the album title, cover photo, photo/video count, privacy setting, description, contributors and owner for every matching album. See [the data fields section](#what-data-can-i-extract-with-facebook-profile-albums-scraper) for the full list.

#### Does Facebook Profile Albums Scraper require a Facebook account or login?

No. Only public album data is extracted, and no credentials are needed.

#### What happens if a profile is private or doesn't exist?

The URL comes back as an uncharged error row (`success: false`) with a message explaining why (private profile, removed page or login wall), instead of a stored result — so you can tell it apart from a profile with zero albums.

#### Can I scrape multiple Facebook profiles or pages at once?

Yes. Add as many URLs as you need to **Facebook URLs**; each one gets its own `maxItems` albums, listed independently.

#### Does Facebook Profile Albums Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Facebook Profile Albums Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/facebook-profile-albums-scraper"`. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Facebook Profile Albums Scraper return data in a format LLMs can use directly?

Yes. Typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### Can I use Facebook Profile Albums Scraper without managing proxies?

Yes. The switch to a stronger proxy when blocked runs on the actor's side. You send one request and get structured JSON back. No proxy accounts, no maintenance.

***

### Your feedback

Found a bug or missing a field? Let us know in the actor's Issues tab. Every report is read, and fixes ship as updates to this actor.

# Actor input Schema

## `startUrls` (type: `array`):

One or more profile/page URLs (any tab, or no tab) to list albums from, or a direct album URL (?set=a.<id>). Each URL gets its own "Max albums" allowance.

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

Maximum number of albums to return for EACH URL above -- not a shared total. 2 URLs x 20 = up to 40 albums. Free plan: up to 20 albums per run (all URLs together) and 200 per month; paid plans have no limit.

## `enrichAlbums` (type: `boolean`):

One extra page fetch per album for privacy, description, contributors and the exact photo count (the listing page only gives a rounded count, e.g. "10,975 items"). Turn off for a faster, cheaper run that returns just title/cover/rounded count/link.

## `proxyConfiguration` (type: `object`):

Optional proxy to start with. When pages are refused, the actor moves to stronger proxies on its own.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.facebook.com/humansofnewyork"
  ],
  "maxItems": 20,
  "enrichAlbums": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `details` (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 = {
    "startUrls": [
        "https://www.facebook.com/humansofnewyork"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/facebook-profile-albums-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 = {
    "startUrls": ["https://www.facebook.com/humansofnewyork"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/facebook-profile-albums-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 '{
  "startUrls": [
    "https://www.facebook.com/humansofnewyork"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call socialdataapi/facebook-profile-albums-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialdataapi/facebook-profile-albums-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/albtyiFpMECRtXMHj/builds/fgObdL00yZ4GwnMNW/openapi.json
