Facebook Email Scrapper
Pricing
Pay per usage
Go to Apify Store
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Devyanshu Negi
Maintained by Community
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Facebook Email Scraper
A robust Apify Actor designed to extract email addresses from Facebook pages using Playwright.
Features
- Dynamic Content Handling: Uses
PlaywrightCrawlerto render Facebook pages and extract emails that are dynamically loaded via JavaScript. - Proxy Support: Fully configurable proxy settings to avoid blocking and ensure reliable scraping.
- Error Handling: Includes robust error handling to manage failed requests and unexpected page structures.
- Privacy Focused: Extracts only publicly available email addresses found on the page.
Input Parameters
The input of this Actor is a JSON object with the following fields:
| Field | Type | Description | Default |
|---|---|---|---|
startUrls | Array | List of Facebook page URLs to scrape. | [{ "url": "https://www.facebook.com/skinplusfindon/" }] |
maxPagesPerCrawl | Integer | Maximum number of pages to crawl in a single run. | 100 |
proxyConfiguration | Object | Proxy settings. Strongly recommended for Facebook scraping to prevent blocking. | { "useApifyProxy": true } |
debugLog | Boolean | Enable verbose logging for debugging purposes. | false |
Input Example
{"startUrls": [{ "url": "https://www.facebook.com/skinplusfindon/" }],"maxPagesPerCrawl": 50,"proxyConfiguration": {"useApifyProxy": true},"debugLog": true}
Output
The Actor stores the results in a dataset. Each item is a JSON object containing:
| Field | Type | Description |
|---|---|---|
url | String | The URL of the scraped page. |
title | String | The title of the page. |
emails | Array | List of unique email addresses found on the page. |
Output Example
{"url": "https://www.facebook.com/skinplusfindon/","title": "Skinplus Dermatology | Findon SA | Facebook","emails": ["admin@skinplus.com.au"]}
Usage
- Install:
apify pull <your-actor-name>(or clone the repo). - Configure: Create an
INPUT.jsonfile with your target URLs. - Run:
apify run(ornode src/main.jslocally).