- Home
- Skills
- Sales & Lead Gen
- Facebook Scraper
Works with the AI Agents you already use
Facebook Scraper
Automated Facebook page and group discovery and scraping tool with stealth browser simulation.
$8
Facebook Scraper
Example session with this skill installed
Discover and scrape 10 Italian restaurants in Miami. Output the results as a JSON file including their follower counts and contact details.
- Read your context and instructions
- Compiled the facebook scraper
I have initiated the discovery and scraping process for Italian restaurants in Miami. The browser is simulating human navigation to bypass detection and extract the requested data points.
Scraped Facebook Page Data
| Display Name | Category | Followers | Location | Phone | |
|---|---|---|---|---|---|
| Roma Trattoria | Italian Restaurant | 12,450 | Miami, FL | +1-305-555-0101 | info@romatrat.com |
| Ciao Bella Bistro | Restaurant | 8,920 | Miami, FL | +1-305-555-0102 | hello@ciaobella.miami |
| The Pasta Factory | Italian Restaurant | 25,100 | Miami, FL | +1-305-555-0103 | contact@pastafac.com |
| Napoli Garden | Pizza/Italian | 4,200 | Miami, FL | +1-305-555-0104 | napoli@garden.com |
| Luigi's Kitchen | Italian Restaurant | 15,600 | Miami, FL | +1-305-555-0105 | luigi@kitchen.com |
| Mamma Mia Miami | Restaurant | 32,800 | Miami, FL | +1-305-555-0106 | ciao@mammamia.com |
| Venice Nights | Upscale Italian | 11,200 | Miami, FL | +1-305-555-0107 | booking@venicenights.com |
| Tuscany Grill | Italian Restaurant | 7,500 | Miami, FL | +1-305-555-0108 | grill@tuscany.com |
| Little Italy Hub | Community/Food | 5,300 | Miami, FL | +1-305-555-0109 | admin@littleitaly.com |
| Sicilian Flavors | Italian Restaurant | 19,400 | Miami, FL | +1-305-555-0110 | flavs@sicilian.com |
Next steps
- Download the full JSON export located in
data/output/miami_restaurant_export.json. - Review the
thumbnails/directory for downloaded profile and cover photos. - Configure residential proxies in
scraper_config.jsonif you plan to scale this to other cities.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Manual data collection from Facebook is blocked by aggressive anti-bot measures, rate limits, and complex browser fingerprinting. Scraping pages and groups at scale typically requires expensive API keys or constant maintenance of custom scripts that break frequently.
What it does
- Discovers Facebook pages and public groups based on specific geographic locations and business categories.
- Extracts detailed metadata including follower counts, engagement stats, contact info, and localized addresses.
- Executes full browser simulation using Playwright with stealth scripts to mimic human behavior.
- Exports structured data in JSON and CSV formats while automatically downloading profile and cover images.
- Manages session persistence with support for residential proxy rotation and interrupted scrape resumption.
Frameworks & tools
Python, Playwright, Chromium, and Google Custom Search API (optional for discovery).
Why this beats prompting it yourself
Writing a prompt to scrape Facebook fails because LLMs cannot handle browser-level anti-detection or session management. This skill provides a production-ready execution layer with built-in deduplication, automated filtering of private groups, and a pre-configured proxy manager that handles the heavy lifting of social media automation.
Use cases
- Lead generation for local businesses by scraping niche-specific Facebook pages in target cities.
- Market research and sentiment analysis by monitoring public community groups for specific industries.
- Building local business directories with verified contact information and physical addresses.
- Competitor tracking to monitor engagement levels and post frequency across different page tiers.
Known limitations
Requires Python 3 and Chromium installed. Private groups and deactivated profiles are automatically skipped. Residential proxies are highly recommended for large-scale operations.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills to Reverse Engineer and Scrape Websites.
Requires Python 3 and Chromium. Private groups cannot be scraped. Large-scale scraping requires residential proxies to avoid IP bans.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
- Accounts
Google Account
Facebook
Bing
- Software
Python
Permissions
Allowed Hosts