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

Facebook Photos Scraper SD - Facebook Photos Scraper is a social media data tool that extracts photos of public Facebook pages with full-resolution image links, sizes, alt text and photo URLs, page after page - Facebook page photo extractor.

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

## Pricing

from $1.19 / 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 Photos Scraper — full-size photos of any public page

The Facebook Photos Scraper collects public Facebook photos and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the Facebook Photos Scraper your input, start it and get structured Facebook data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

The Facebook Photos Scraper exports the photos of public Facebook pages with the full-resolution image link, size, alt text and photo URL, page after page, and can store the image files.

It runs on Apify, needs no Facebook login and no cookies, and exports to JSON, CSV, Excel or an API call. Every session key it needs (tokens, query ids, cursors) is read from Facebook on each run, so it keeps working when Facebook ships new code.

#### What the Facebook Photos Scraper does

- Reads the page's photos collection and follows its cursor.
- Returns the largest image Facebook publishes for each photo.
- Optionally stores every image in your Apify storage.

#### Who uses the Facebook Photos Scraper

- Brands archiving their own page.
- Researchers collecting public images.
- Agencies reviewing a page's visual content.

### How the Facebook Photos Scraper works

Facebook serves public pages, videos and listings to logged-out visitors and embeds the first page of data in the HTML.

Query ids that a page does not preload are read from the JavaScript bundles the page lists, and the variable names of each query come from its own module, so the request always matches Facebook's current code.

Nothing is guessed: if Facebook stops publishing a value the Facebook Photos Scraper needs, the run log names it and the item is skipped instead of being filled with a stale value.

### Input of the Facebook Photos Scraper

| Field | Type | Default | What it does |
|---|---|---|---|
| `pages` | array | \["NASA"] | Page usernames (NASA), page URLs (https://www.facebook.com/NASA) or profile.php?id= links. |
| `maxItems` | integer | 20 | Newest photos per page (paginated). |
| `downloadImages` | boolean | False | Also saves each image into the key-value store and returns a download link. |
| `maxTotalItems` | integer | 0 | Stops the whole run after this many dataset rows. |
| `proxyConfiguration` | object | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} | Facebook limits logged-out visitors per IP address. Residential proxies (the default) give the most reliable results; the Actor switches to a fresh IP when Face |

Example input for the Facebook Photos Scraper:

```json
{
  "pages": [
    "NASA"
  ],
  "maxItems": 20
}
```

### Output of the scraper

Each dataset row is one photo. These are the fields the Facebook Photos Scraper produced in its test runs:

| Field | Meaning |
|---|---|
| `altText` | altText |
| `height` | height |
| `id` | Platform id of the item |
| `imageUrl` | Full-resolution image link |
| `inputUrl` | inputUrl |
| `pageUsername` | pageUsername |
| `scrapedAt` | When this row was read |
| `thumbnailUrl` | thumbnailUrl |
| `url` | Public link of the item |
| `width` | width |
| `downloadError` | downloadError |
| `fileUrl` | Download link of the stored file (Apify key-value store) |

Fields that Facebook does not publish for an item are left empty rather than guessed. Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.

#### Example row from a the scraper test run

A real row from the local test run (long values shortened):

```json
{
  "id": "1757191975767335",
  "url": "https://www.facebook.com/photo.php?fbid=1757191975767335&set=pb.100044296486382.-220752...",
  "imageUrl": "https://scontent.fdac5-1.fna.fbcdn.net/v/t39.99422-6/829136203_1608902097576513_7516733...",
  "width": 1332,
  "height": 1666,
  "thumbnailUrl": "https://scontent.fdac5-1.fna.fbcdn.net/v/t39.99422-6/829136203_1608902097576513_7516733...",
  "altText": "May be an image of American football and football",
  "scrapedAt": "2026-10-02T18:53:37.000Z",
  "pageUsername": "Cristiano",
  "inputUrl": "https://www.facebook.com/Cristiano",
  "fileUrl": "file:///D:/Email%20Scrapers/ACTOR_IMPLEMENT/facebook-photo-posts-scraper/storage/key_va...",
  "downloadError": null
}
```

#### Data quality of the scraper

- Every value in a Facebook Photos Scraper row is read from Facebook during your run; nothing is filled from a cache or an old snapshot.
- Rows are de-duplicated by id inside a run, so the same photo never appears twice in one dataset.
- Counts are numbers you can sort and sum (not "1.2K" text) wherever Facebook publishes the exact number.
- Dates are UTC in ISO 8601 format, which Excel, Google Sheets, Python and SQL all read directly.

### The scraper test results

These numbers come from live test runs of the Facebook Photos Scraper on 2026-10-03 (home connection, no proxy). Runs on the Apify platform use residential proxies and can be faster or slower.

| Test | Rows | Time |
|---|---|---|
| page photos paginated (30) | 30 | 15 s |
| second page + store files (3) | 3 | 2 s |

### The scraper limits, stated plainly

- Measured locally: 30 NASA photos in 15 seconds.
- Respect copyright when you reuse images.

### How to run the scraper

1. Open the Facebook Photos Scraper in Apify Console and fill in the input fields described above.
2. Keep the default residential proxy unless you have a reason to change it; Facebook limits logged-out visitors per IP address.
3. Start the run, watch the log, and download the dataset when the status says Done.
4. To automate it, call the Facebook Photos Scraper from the Apify API, schedule it, or connect it to Make, Zapier, n8n or Google Sheets through an integration or webhook.

Python example with the Apify API client:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "pages": [
        "NASA"
    ],
    "maxItems": 20
}
run = client.actor("neuro-scraper/facebook-photos-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### The scraper pricing

The Facebook Photos Scraper uses pay-per-event pricing: you pay per dataset row (event "result"), plus the Apify platform usage of your run. Free-plan users get up to 30 rows per run, which is enough to test the Facebook Photos Scraper on real data.

Set a maximum cost per run in Apify and the Facebook Photos Scraper stops cleanly when it is reached.

#### Tips for large runs of the scraper

- Start with a small limit to check the Facebook Photos Scraper output, then raise it; the first rows arrive within seconds.
- Split very large jobs into several inputs and run them in parallel tasks; each run gets its own proxy sessions.
- Set a maximum cost per run in Apify; the Facebook Photos Scraper stops cleanly when the budget is reached and keeps every row it already saved.
- Schedule repeat runs instead of one huge run when you track the same targets over time.
- Keep the residential proxy: datacenter IPs are refused by Facebook far more often for logged-out visitors.

#### The scraper compared with copying by hand

|  | Facebook Photos Scraper | Manual work |
|---|---|---|
| Speed | Seconds per page of results | Minutes per item |
| Fields | Every public field, same order every time | Whatever you copy |
| Format | JSON, CSV, Excel, API | Spreadsheet you build yourself |
| Repeatable | Schedule it daily | Start again each time |
| Errors | Logged per item | Unnoticed typos |

### Using the scraper in a workflow

- Send every new row to Google Sheets or Airtable with the Apify integration and keep a live table.
- Trigger a Make, Zapier or n8n scenario with a webhook when the run finishes.
- Load the JSON export into Python or BigQuery for analysis and dashboards.
- Use the Apify API: start the Facebook Photos Scraper with a POST request and read the dataset items endpoint when the run finishes.
- Chain it: pass the Facebook Photos Scraper output to another Apify Actor (for example a downloader or a transcript Actor) in an Apify task.
- Export straight to Excel from the dataset tab when you only need a one-off report.

#### Troubleshooting the scraper

- The run ends with no rows: open the log. The Facebook Photos Scraper writes one line per target saying what Facebook returned, for example a login wall or a missing item.
- Fewer rows than expected: the target may have fewer public items, or Facebook may stop serving more pages to logged-out visitors. The log names the reason.
- Slow run: large limits mean many pages; the Facebook Photos Scraper waits briefly between pages so Facebook keeps answering. Split big jobs into several runs.
- Proxy errors: keep the RESIDENTIAL group. The Facebook Photos Scraper already switches to a fresh IP when one is blocked.
- Free plan stops at 30 rows: that is the free-plan cap of the Facebook Photos Scraper; any paid Apify plan removes it.

#### What changed in this version of the scraper

- Pay-per-event pricing (one event per row) replaces the old monthly rental; free-plan users can test with 30 rows per run.
- Residential proxy by default, with automatic switch to a fresh IP when Facebook blocks one.

#### Is it legal to use the scraper?

The Facebook Photos Scraper reads only data that Facebook shows to any logged-out visitor. It never logs in and never touches private content. Personal data may still be in public posts, so check GDPR and the other laws that apply to you before you store or reuse it, and respect Facebook's terms.

### Leave a review

If the Facebook Photos Scraper saved you time, please leave a star rating and a short review on its Apify page. Reviews help other users find the Facebook Photos Scraper and tell us what to improve next.

### Frequently asked questions

#### Can the scraper store the image files?

Yes. Turn on "Store image files" and each row gets a fileUrl.

#### Does the scraper need my Facebook login?

No. The Facebook Photos Scraper works logged out and never asks for your password or cookies. It reads only what Facebook shows to any visitor.

#### Do I need my own proxy for the scraper?

No. The Facebook Photos Scraper uses Apify residential proxies by default and switches to a fresh IP when Facebook blocks one. You can choose another proxy in the input.

#### What formats can I export from the scraper?

JSON, CSV, Excel, XML, HTML and RSS from the dataset tab, or any format through the Apify API, webhooks and integrations.

#### How fast is the scraper?

In the test runs above the Facebook Photos Scraper took between 2 and 15 seconds per run. Speed depends on how many items you ask for and on the proxy.

#### Why did the scraper return fewer rows than I asked for?

The Facebook Photos Scraper stops when Facebook has nothing more to show logged out, when your limit is reached, or when the free-plan cap of 30 rows applies. The run log always says which one happened.

#### Can I schedule the scraper?

Yes. Create a schedule in Apify Console to run the Facebook Photos Scraper daily or hourly and send the results to Google Sheets, Make, Zapier or n8n through an integration.

#### Can the scraper read private accounts or private groups?

No. The Facebook Photos Scraper reads public data only. Private content needs a login, and the Facebook Photos Scraper never logs in.

#### What happens when Facebook changes its website?

The Facebook Photos Scraper reads every key it needs from Facebook at run time, so routine changes are picked up automatically. If something can no longer be read, the log says so instead of returning wrong data.

#### Can I use the scraper with Make, Zapier or n8n?

Yes. Add the Facebook Photos Scraper as an Apify step in Make, Zapier or n8n, or send a webhook when the run finishes and fetch the dataset items from the Apify API.

#### Does the scraper work in every country?

The Facebook Photos Scraper reads Facebook through residential proxies that rotate across countries. Content that Facebook restricts by country follows those rules.

#### How do I collect only new items with the scraper?

Schedule the Facebook Photos Scraper and keep the item ids from earlier runs. Every row has a stable id, so a simple de-duplication against your previous export keeps only the new ones.

#### Can the scraper process many targets in one run?

Yes. Put as many targets as you like in the input; the Facebook Photos Scraper handles them one after another and a failing target never stops the others.

### Why use the scraper

The Facebook Photos Scraper is a Facebook scraper and Facebook data extractor for anyone who needs public Facebook photos as clean data. The Facebook Photos Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the Facebook Photos Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the Facebook Photos Scraper runs on Apify with one click or one API call.
- Pay per result: the Facebook Photos Scraper charges only for rows delivered - no monthly Facebook API fee.
- Complete fields: the Facebook Photos Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the Facebook Photos Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### The scraper use cases

- Market research: the Facebook Photos Scraper collects Facebook photos at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the Facebook Photos Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the Facebook Photos Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the Facebook Photos Scraper keeps a fresh copy of Facebook data through an Apify schedule and a webhook.
- Analytics and dashboards: send the Facebook Photos Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the Facebook Photos Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the Facebook Photos Scraper turns public Facebook data into a dataset you can diff run by run.
- Automation workflows: connect the Facebook Photos Scraper to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the Facebook Photos Scraper from the Apify Console, or call it from code. The Facebook Photos Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the Facebook Photos Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the Facebook Photos Scraper easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the Facebook Photos Scraper on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the Facebook Photos Scraper. Follow the run log while the Facebook Photos Scraper collects public Facebook data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the Facebook Photos Scraper to keep your Facebook data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the Facebook Photos Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller Facebook Photos Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each Facebook Photos Scraper run adds to your Facebook data over time.
- Filter early: use the input filters of the Facebook Photos Scraper so you only pay for the Facebook photos you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every Facebook Photos Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the Facebook Photos Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### The scraper FAQ

### Get started

Open the Facebook Photos Scraper, paste your input and press Start. In a few minutes the Facebook Photos Scraper hands you clean Facebook data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the Facebook Photos Scraper page on Apify - we answer fast and add features users ask for.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Facebook Comments Scraper](https://apify.com/neuro-scraper/facebook-comments-scraper) | Facebook comments with all public fields, exported to JSON, CSV or Excel |
| [Facebook Followers Scraper](https://apify.com/neuro-scraper/facebook-followers-scraper) | Facebook followers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Groups Scraper](https://apify.com/neuro-scraper/facebook-groups-scraper) | Facebook groups with all public fields, exported to JSON, CSV or Excel |
| [Facebook Hashtag Scraper](https://apify.com/neuro-scraper/facebook-hashtag-scraper) | Facebook hashtag data with all public fields, exported to JSON, CSV or Excel |
| [Facebook ID Finder](https://apify.com/neuro-scraper/facebook-id-finder) | Facebook id data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Ads Library Scraper](https://apify.com/neuro-scraper/facebook-ads-library-scraper) | Facebook ads library data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Posts Scraper](https://apify.com/neuro-scraper/facebook-posts-scraper) | Facebook posts with all public fields, exported to JSON, CSV or Excel |
| [Facebook Profile Scraper](https://apify.com/neuro-scraper/facebook-profile-scraper) | Facebook profile data with all public fields, exported to JSON, CSV or Excel |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

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

Page usernames (NASA), page URLs (https://www.facebook.com/NASA) or profile.php?id= links.

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

Newest photos per page (paginated).

## `downloadImages` (type: `boolean`):

Also saves each image into the key-value store and returns a download link.

## `maxTotalItems` (type: `integer`):

Stops the whole run after this many dataset rows.

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

Facebook limits logged-out visitors per IP address. Residential proxies (the default) give the most reliable results; the Actor switches to a fresh IP when Facebook blocks one.

## Actor input object example

```json
{
  "pages": [
    "NASA"
  ],
  "maxItems": 20,
  "downloadImages": false,
  "maxTotalItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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": [
        "NASA"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/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": ["NASA"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/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": [
    "NASA"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/facebook-photos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/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/mGZYtV0HfgOC2qrxr/builds/HFiS63xQWTeC07V23/openapi.json
