# Facebook Albums Scraper (`maximedupre/facebook-album-scraper`) Actor

Get public photo albums from Facebook Pages, profiles, and album links, with no login. Each album has its title, link, ID, photo count, and owner. You can also add the photos and public comments inside each album.

- **URL**: https://apify.com/maximedupre/facebook-album-scraper.md
- **Developed by:** [Maxime Dupré](https://apify.com/maximedupre) (community)
- **Categories:** Social media, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.25 / 1,000 albums

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

### 📸 Get every public photo album from Facebook Pages and profiles

Facebook Albums Scraper is for marketers, researchers, agencies, and developers who need Facebook album data in a table. Add Facebook Pages, profiles, or album links. You get each public album with its title, link, ID, photo count, cover image, and owner. You can also get the photos and public comments inside each album. You do not need a Facebook account or login.

- List all public albums of a brand Page to see how it groups its photos.
- Save the full-size image links of every photo in an album for an archive.
- Collect the public comments on an album to read what people say about it.
- Check the albums of many Pages and profiles in one run to compare them.
- Get an album's details and photos straight from its album link.

#### 🗂️ What album data you get

- **Album details:** album ID, link, title, description, and the photo count that Facebook shows.
- **Cover image:** a link to the album cover, for albums found on a Page or profile.
- **Owner:** the name and ID of the Page or profile that owns the album.
- **Photos (optional):** photo ID, photo link, full-size image link, width, height, and description text.
- **Comments (optional):** comment ID, text, author name and ID, posting time, and reaction count.

Each album is one row. Its photos and comments are lists inside that row.

#### 🚀 How to scrape Facebook albums

1. Add one or more Facebook Pages, profiles, or album links to **Pages, profiles, or albums**.
2. Set **Max albums per Page or profile**, or leave it empty to get all public albums.
3. Turn on **Include photos** or **Include comments** if you also want them.
4. Click **Start** and wait for the run to finish.
5. Download your albums as JSON, CSV, Excel, or HTML, or get them through the Apify API.

#### ⚙️ Input

**Input fields**

| Field | Type | What it does |
| --- | --- | --- |
| `pages` | array of strings | Required. Facebook Pages or profiles by username, ID, or link, such as `facebook`, `100064860875397`, or `https://www.facebook.com/facebook`. You can also add album links, such as `https://www.facebook.com/media/set/?set=a.123456789`. A Page or profile gives its public albums. An album link gives that one album. The form is prefilled with `https://www.facebook.com/facebook`. |
| `maxAlbumsPerPage` | integer | The most albums to get from each Page or profile. Leave it empty or set `0` to get all public albums. It has no effect on album links. The form is prefilled with `5`. |
| `includePhotos` | boolean | Get the public photos inside each album. Default: `false`. |
| `maxPhotosPerAlbum` | integer | The most photos to get from each album when photos are on. Set `0` to get all public photos. Default: `20`. |
| `includeComments` | boolean | Get the public comments on each album, when Facebook shows them. Default: `false`. |
| `maxCommentsPerAlbum` | integer | The most comments to get from each album when comments are on. Set `0` to get all public comments. Default: `20`. |
| `commentsSort` | string | The comment order: `mostRelevant` (Most relevant), `newest` (Newest), or `all` (All comments). "All comments" also includes comments that Facebook hides from the most relevant view. Default: `mostRelevant`. |

**Example input**

```json
{
  "pages": [
    "https://www.facebook.com/facebook"
  ],
  "maxAlbumsPerPage": 5,
  "includePhotos": false,
  "maxPhotosPerAlbum": 20,
  "includeComments": false,
  "maxCommentsPerAlbum": 20,
  "commentsSort": "mostRelevant"
}
```

#### 🧾 Output

**Output fields**

| Field | Type | What it does |
| --- | --- | --- |
| `albumId` | string | The Facebook ID of the album. |
| `url` | string | Link to open the album on Facebook. |
| `title` | string | The name of the album as Facebook shows it. |
| `description` | string | The text that describes the album, when Facebook shows it. |
| `photoCount` | integer | The number of photos in the album as Facebook states it. |
| `coverImageUrl` | string | Link to the album cover image. It is set for albums found on a Page or profile. |
| `owner.id` | string | The Facebook ID of the Page or profile that owns the album. |
| `owner.name` | string | The name of the Page or profile that owns the album. |
| `input` | string | The Page, profile, or album link, username, or ID from your input that found this album. |
| `photos` | array of objects | The public photos in the album. Only when **Include photos** is on. |
| `photos.photoId` | string | The Facebook ID of the photo. |
| `photos.url` | string | Link to open the photo on Facebook. |
| `photos.imageUrl` | string | Link to the full-size image file. |
| `photos.width` | integer | The width of the full-size image in pixels. |
| `photos.height` | integer | The height of the full-size image in pixels. |
| `photos.description` | string | The text that goes with the photo, when Facebook shows it. |
| `comments` | array of objects | Public comments on the album, in the order you chose. Only when **Include comments** is on. |
| `comments.commentId` | string | The Facebook ID of the comment. |
| `comments.text` | string | The text of the comment. |
| `comments.authorName` | string | The name of the person or Page that wrote the comment. |
| `comments.authorId` | string | The Facebook ID of the person or Page that wrote the comment. |
| `comments.createdAt` | string | The date and time of the comment, in ISO 8601 format. |
| `comments.likeCount` | integer | The number of reactions on the comment. |

**Example album with photos and comments**

This row comes from an album link with photos and comments turned on.

```json
{
  "albumId": "1702107225294624",
  "url": "https://www.facebook.com/media/set/?set=a.1702107225294624",
  "title": "Community Spotlight: 12 Foot Skeleton Owners Facebook Group",
  "description": "This Facebook Group exists for one reason: a 12-foot skeleton. 💀\n\nThis group is where lovers of the larger-than-life Skelly show off their displays, track new releases and help each other hunt down that one must-have piece all year long. They've been finding each other here since 2021. \"I never imagined this little passion for a 12-foot Skelly would grow into a community of nearly 300,000 people,\" says Amanda Tyson, one of the group's admins. 🎃",
  "photoCount": 13,
  "owner": {
    "id": "100064860875397",
    "name": "Facebook"
  },
  "input": "https://www.facebook.com/media/set/?set=a.1702107225294624",
  "photos": [
    {
      "photoId": "1702104765294870",
      "url": "https://www.facebook.com/photo/?fbid=1702104765294870&set=a.1702107225294624",
      "imageUrl": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.99422-6/865119555_1083478581358936_4409502143844172297_n.png?stp=dst-jpg_tt6&cstp=mx1638x2048&ctp=s1638x2048&_nc_cat=100&ccb=1-7&_nc_sid=f727a1&_nc_ohc=MMvRUDtcvIUQ7kNvwFSIRBM&_nc_oc=Adr7T262EvLTROiiHkKtGE4hQfrCoGRFuNT60D_IglQ1T5PJGp2stQ0AKz809WqdrqU&_nc_zt=14&_nc_ht=scontent-ord5-2.xx&_nc_gid=Tx9T6RJEbyo8qLAjuLEZOQ&_nc_ss=70180&oh=00_AQRL6BeK1GN2F1XBp0cADkhl7FfwCaBCEunsgsJBBE01Ww&oe=6AF9BF16",
      "width": 1638,
      "height": 2048
    },
    {
      "photoId": "1702105845294762",
      "url": "https://www.facebook.com/photo/?fbid=1702105845294762&set=a.1702107225294624",
      "imageUrl": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.99422-6/869929050_29552265871025905_8774901610116904718_n.png?stp=dst-jpg_tt6&cstp=mx1638x2048&ctp=s1638x2048&_nc_cat=101&ccb=1-7&_nc_sid=f727a1&_nc_ohc=5W1dCZBC_hkQ7kNvwHXe38s&_nc_oc=Adoh0kDkJv16zSbtbHnZ2tOVCAsXxJ8QRS2DkF4vw6oFdBFqzwlkjNEinPUvEYFF_Q0&_nc_zt=14&_nc_ht=scontent-ord5-1.xx&_nc_gid=7Wo0-ROZ79Olqd_oR-O6tA&_nc_ss=70180&oh=00_AQTbogu1gpKFQHQ1h-kjPazMs1GQF68nedP8ix-JC_CD5A&oe=6AF9BDE2",
      "width": 1638,
      "height": 2048
    },
    {
      "photoId": "1702105921961421",
      "url": "https://www.facebook.com/photo/?fbid=1702105921961421&set=a.1702107225294624",
      "imageUrl": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.99422-6/870285249_1104924681982585_7151071143807339420_n.png?stp=dst-jpg_tt6&cstp=mx1638x2048&ctp=s1638x2048&_nc_cat=109&ccb=1-7&_nc_sid=f727a1&_nc_ohc=OLf620gQDI8Q7kNvwHR0BuU&_nc_oc=Adq2mNtUuoj_TGCC4yROw4sQZXPJ16-Sm55bh1JSlcDwReAHtGQEijkIrWdO1Aye-js&_nc_zt=14&_nc_ht=scontent-ord5-1.xx&_nc_gid=9jvR33bou1UcrAZnnetCWQ&_nc_ss=70180&oh=00_AQRSIge_-Eupqp_JeNna508oyLUSDDtCvjGdG9GwoBTg_w&oe=6AF9C2B9",
      "width": 1638,
      "height": 2048
    }
  ],
  "comments": [
    {
      "commentId": "1135296929502493",
      "text": "So sweet",
      "authorName": "Dilip Raval",
      "authorId": "100085193705404",
      "createdAt": "2026-11-08T18:40:02.000Z",
      "likeCount": 0
    },
    {
      "commentId": "1645201690378909",
      "text": "Super",
      "authorName": "Dilip Raval",
      "authorId": "100085193705404",
      "createdAt": "2026-11-08T18:39:54.000Z",
      "likeCount": 0
    },
    {
      "commentId": "1999560514048531",
      "text": "Hi",
      "authorName": "Rab Nawaz",
      "authorId": "100046232200347",
      "createdAt": "2026-11-08T18:33:00.000Z",
      "likeCount": 0
    }
  ]
}
```

#### 💳 Pricing

This Actor uses pay-per-event pricing. You pay only for what is saved to your dataset.

| Event | When you pay | Price |
| --- | --- | --- |
| Album | Once for each album saved | $0.0027 on the Free plan, $0.00225 on Bronze, $0.0018 on Silver, and $0.00125 on Gold and higher |
| Photo | Once for each photo added to an album | $0.0018 |
| Comment | Once for each comment added to an album | $0.0018 |

For example, 100 albums on the Free plan cost $0.27. If each album also has 20 photos, the 2,000 photos add $3.60. An input that gives no album, such as a deleted or private album, saves no row and costs nothing. Photos and comments are off by default, so you pay for them only when you turn them on. Use the limits to control how many you get.

#### 🔌 Integrations

You can connect this Actor to other apps with Apify integrations, such as Make, Zapier, Google Sheets, Slack, webhooks, and the Apify API. You can also run it on a schedule to check the same Pages again.

https://www.youtube.com/watch?v=bNACk1_S_6w\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=4

#### ❓ FAQ

##### Do I need a Facebook account or the Meta Graph API?

No. The Actor reads only public albums that anyone can see without a login. You do not need a Facebook account, a Meta app, Graph API permissions, or an access token.

##### How is this different from Facebook's "Download your information" export?

That export gives you only your own data. This Actor gets public albums of any Page or profile you add, in a table you can filter, share, and use in other tools.

##### Why do albums from an album link have no cover image?

The cover image link comes from the album list on a Page or profile. When you add an album link, the row has the album details, owner, photos, and comments, but no `coverImageUrl`.

##### Why did an album get no comments?

Facebook gives each album its own comment orders. Some albums do not offer every order, such as "Newest". When an album does not offer the order you chose, the Actor gets no comments for that album and writes a warning in the log. It never uses another order. Comments with no text are also left out.

##### Can I get private albums?

No. The Actor gets only public albums. When an album link is private or deleted, the log says so and no row is saved.

##### What happens if I add the same album twice?

Each album is saved once per run, even when more than one input leads to it.

##### Can I get photos from many Pages in one run?

Yes. Add as many Pages, profiles, and album links as you need. Each one is handled in turn, and every album goes to the same dataset.

### 📝 Changelog

**v0.0** (11-11-2026)

- Initial release.

### 🆘 Support

For issues, questions, or feature requests, [file a ticket](https://console.apify.com/actors/maximedupre~facebook-album-scraper/issues) and I'll fix or implement it in less than 24h 🫡

### 🔗 Related Actors

- [Facebook Media Downloader](https://apify.com/maximedupre/facebook-media-downloader): get direct media links for known public Facebook photos, videos, and reels.
- [Facebook Page Video Downloader](https://apify.com/maximedupre/facebook-page-video-downloader): collect the public videos from a Facebook Page video library.
- [Facebook User Posts Scraper](https://apify.com/maximedupre/facebook-user-posts-scraper): collect public posts from Facebook profiles and Pages, with text, media, and engagement.
- [Facebook Post Comments Scraper](https://apify.com/maximedupre/facebook-post-comments-scraper): get public comments from Facebook posts, reels, and videos.
- [Facebook Reactions Scraper](https://apify.com/maximedupre/facebook-reactions-scraper): get reaction counts and the people who reacted to public Facebook posts.

**Made with ❤️ by Maxime Dupré**

# Actor input Schema

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

Add one or more Facebook Pages or profiles by username, ID, or link, such as `facebook`, `100064860875397`, or `https://www.facebook.com/facebook`. You can also add album links, such as `https://www.facebook.com/media/set/?set=a.123456789`. For a Page or profile, the Actor gets its public albums. For an album link, it gets that album.

## `maxAlbumsPerPage` (type: `integer`):

The most albums to get from each Page or profile. Leave it empty or set 0 to get all public albums. Album links always give their one album.

## `includePhotos` (type: `boolean`):

Get the public photos inside each album, with image link, photo ID, size, and description. Each photo is charged.

## `maxPhotosPerAlbum` (type: `integer`):

The most photos to get from each album when photos are on. Set 0 to get all public photos. You get up to this many per album, where available.

## `includeComments` (type: `boolean`):

Get the public comments on each album, when Facebook shows them. Each comment is charged.

## `maxCommentsPerAlbum` (type: `integer`):

The most comments to get from each album when comments are on. Set 0 to get all public comments. You get up to this many per album, where available.

## `commentsSort` (type: `string`):

The order Facebook uses to show public album comments when comments are on. "All comments" also includes comments that Facebook hides from the most relevant view.

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/facebook"
  ],
  "maxAlbumsPerPage": 5,
  "includePhotos": false,
  "maxPhotosPerAlbum": 20,
  "includeComments": false,
  "maxCommentsPerAlbum": 20,
  "commentsSort": "mostRelevant"
}
```

# Actor output Schema

## `albums` (type: `string`):

Open the public Facebook albums found in this run, with their photos and comments.

# 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 = {
    "pages": [
        "https://www.facebook.com/facebook"
    ],
    "maxAlbumsPerPage": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("maximedupre/facebook-album-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 = {
    "pages": ["https://www.facebook.com/facebook"],
    "maxAlbumsPerPage": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("maximedupre/facebook-album-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 '{
  "pages": [
    "https://www.facebook.com/facebook"
  ],
  "maxAlbumsPerPage": 5
}' |
apify call maximedupre/facebook-album-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maximedupre/facebook-album-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/jjgfyDTV3yzA9esFJ/builds/Citx23TC0iX7Ip8y9/openapi.json
