# Facebook Photos Scraper (`piotrv1001/facebook-photos-scraper`) Actor

Scrape and download Facebook photos from any public page without login: full-size image URL, width, height, thumbnail and an AI-generated image description with the text in each photo. Many pages per run, export to CSV, Excel or JSON.

- **URL**: https://apify.com/piotrv1001/facebook-photos-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Social media, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 photos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Photos Scraper

Download **the photos of any public Facebook page**, newest first, with no login and no Graph API token. The **Facebook Photos Scraper** returns each photo's ID and link, the full-size image URL with its width and height, a thumbnail, and an AI-generated image description that says what the photo shows and reads out any text in it. Paste many page URLs or usernames in one run and export the photos to JSON, CSV or Excel. Use it as a bulk Facebook photo downloader, for brand and competitor image research, visual content analysis and building image datasets.

### ✨ Features

- 🖼️ **Photos tab of any public page**: newest first, page after page, hundreds of photos deep.
- ⬇️ **Full-size image URLs**: the largest version Facebook serves, with width and height, plus a thumbnail.
- 🤖 **AI-generated image description**: Facebook's automatic description of each photo, including the text printed on it (e.g. "White background with black text that reads …").
- 📦 **Bulk pages**: many pages per run, each with its own photo limit; duplicate inputs are merged.

### 🛠️ How It Works

1. **Enter Facebook pages**: `https://www.facebook.com/nike`, `nike` or `facebook.com/profile.php?id=…`, one per line.
2. **Set the limit**: 50 photos per page by default.
3. **Run the scraper**: download the photo list as JSON, CSV or Excel, or get it through the API, then fetch the images from `imageUrl`.

### ⚙️ Input

| Field | What it does |
| --- | --- |
| **Facebook pages** | Public page URLs, usernames or numeric IDs, one per line. |
| **Max photos per page** | Stop after this many photos from each page (newest first). Default 50. |

```json
{
    "pages": ["https://www.facebook.com/nike", "NASA"],
    "maxItems": 200
}
```

### 💰 Pricing

You pay per photo saved, with no monthly rental.

| Event | Price | What you get |
| --- | --- | --- |
| **Photo** | $0.001 per photo ($1 per 1,000) | One photo with all the fields below |
| **Actor start** | $0.00005 per run | Charged once when the run starts |

Examples: 100 photos cost $0.10 and 1,000 photos cost $1. Pages that are not public, not found or have no photos are listed in the run's status message and are not charged.

### 📊 Sample Output Data

```json
{
    "id": "1096426968518678",
    "url": "https://www.facebook.com/photo/?fbid=1096426968518678",
    "imageUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/471191216_18515827705020081_6688650802525521362_n.jpg?…",
    "width": 1440,
    "height": 1800,
    "thumbnailUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-6/471191216_18515827705020081_6688650802525521362_n.jpg?stp=c0.119.1440.1440a…",
    "imageDescription": "White background with black text that reads “It’s hard to beat the nicest guy.” Micro graphics read “Jannik Sinner.”",
    "pageId": "15087023444",
    "pageName": "Nike",
    "pageUrl": "https://www.facebook.com/nike",
    "inputPage": "nike",
    "scrapedAt": "2026-10-26T15:23:41.933Z"
}
```

`inputPage` is the page you entered, so rows from several pages are easy to group. `imageDescription` is empty when Facebook has no description for a photo.

### 🎯 Use Cases

- **Download Facebook photos in bulk**: collect the full-size image links of a page's photos for archiving or a media library.
- **Brand and competitor research**: see what rival pages post, how often, and what their images say.
- **Image datasets**: photos with ready-made text descriptions for AI and computer-vision work.
- **Text in images**: the description reads out text printed on posters, menus and ads.

### ❓ FAQ

**Do photos have a date?** No. The Photos tab does not show when each photo was posted, so there is no date field. Photos come newest first.

**What is the image description?** Facebook writes an automatic description of every photo for screen readers (its "alt text"), including any text it reads in the image. We return it as `imageDescription`.

**How far back does it go?** We read 600 of NASA's photos in about a minute without reaching the end. Set "Max photos per page" high to get more.

**Are albums supported?** The scraper reads the page's Photos tab, which holds the photos from all its albums and posts. Album names are not shown there.

**How long do the image links work?** Facebook's image links expire after a few days, so download the files you need soon after the run.

**Do I need a Facebook account, cookies or a Graph API token?** No. The scraper reads public pages the way a logged-out visitor sees them.

### 🔗 More Facebook Actors

- [Facebook Posts Scraper](https://apify.com/piotrv1001/facebook-posts-scraper): posts of any public page with engagement counts.
- [Facebook Reels Scraper](https://apify.com/piotrv1001/facebook-reels-scraper): reels with plays, engagement and MP4 links.
- [Facebook Pages Scraper](https://apify.com/piotrv1001/facebook-pages-scraper): page profile, followers, contact details and rating.

# Actor input Schema

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

Public Facebook page URLs or usernames, one per line, e.g. `https://www.facebook.com/nike` or `nike`. Public pages and public figures.

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

Stop after this many photos from each page (newest first).

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/nike"
  ],
  "maxItems": 50
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/facebook-photos-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/nike"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/facebook-photos-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/nike"
  ],
  "maxItems": 50
}' |
apify call piotrv1001/facebook-photos-scraper --silent --output-dataset

```

## MCP server setup

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