Facebook Public Pages Scraper avatar

Facebook Public Pages Scraper

Pricing

Pay per usage

Go to Apify Store
Facebook Public Pages Scraper

Facebook Public Pages Scraper

Scrape public Facebook pages: posts, reactions, comments, shares, and page metadata. No account or API key needed. Export to JSON or CSV.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Vhub Systems

Vhub Systems

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

6 hours ago

Last modified

Share

πŸ“˜ Facebook Public Scraper β€” Posts, Comments & Page Data Extractor

Extract public Facebook posts, comments, likes, shares, and page metadata without an API key. This actor scrapes publicly accessible Facebook pages and returns structured data ready for export to JSON or CSV. Perfect for social media monitoring, brand tracking, competitor research, and content strategy.

No Facebook API key required. Works on any public Facebook page.


πŸš€ What It Does

The Facebook Public Scraper is a powerful, no-API-needed extractor that crawls public Facebook pages to collect post content, engagement metrics, and page-level information. It handles dynamic content loading, bypasses lazy-loaded feeds, and returns clean, structured records. Whether you need 10 posts or 1,000, this tool delivers fast, reliable results β€” with no authentication required. Export directly to JSON, CSV, Excel, or XML via Apify's built-in dataset tools.


🎯 Use Cases

  • πŸ“Š Social Media Analysts β€” Track post engagement trends across brand pages and benchmark against competitors
  • 🏒 Marketing Teams β€” Monitor campaign performance, discover high-performing content types, and measure audience sentiment
  • πŸ” Competitive Intelligence β€” Scrape competitor Facebook pages to analyze posting frequency, content strategy, and engagement rates
  • πŸ“° Journalists & Researchers β€” Collect public posts for academic research, fact-checking, or trend analysis
  • πŸ“ˆ E-commerce Brands β€” Monitor product mentions, customer feedback, and promotions posted publicly on Facebook

πŸ“₯ Input Parameters

FieldTypeDefaultDescription
pagesarrayrequiredList of Facebook page URLs or slugs (e.g., ["facebook.com/nike", "adidas"])
maxPostsinteger20Maximum number of posts to scrape per page (1–500)
includeCommentsbooleanfalseWhether to include comments on each post
maxCommentsinteger10Max comments per post (only if includeComments is true)
proxyConfigurationobjectautoProxy settings. Residential proxies recommended for reliability

πŸ“‹ Example Input

{
"pages": [
"https://www.facebook.com/nike",
"https://www.facebook.com/adidas",
"cocacola"
],
"maxPosts": 50,
"includeComments": true,
"maxComments": 20,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

πŸ“€ Output Sample

Each item in the output dataset represents one Facebook post:

{
"postId": "354892341098234",
"pageName": "Nike",
"pageUrl": "https://www.facebook.com/nike",
"pageCategory": "Sportswear Brand",
"pageLikes": 34521890,
"pageFollowers": 37214003,
"postUrl": "https://www.facebook.com/nike/posts/354892341098234",
"postText": "Just Do It. πŸƒ Our new Air Max 2024 drops this Friday. Are you ready? #Nike #AirMax",
"postType": "photo",
"likesCount": 45231,
"commentsCount": 1823,
"sharesCount": 2941,
"reactionsCount": {
"like": 38201,
"love": 5124,
"haha": 312,
"wow": 198,
"sad": 42,
"angry": 17
},
"publishedAt": "2024-03-15T14:32:00.000Z",
"imageUrls": [
"https://scontent.facebook.com/v/t39.30808-6/airmax2024.jpg"
],
"videoUrl": null,
"isSponsored": false,
"comments": [
{
"commentId": "comment_98421",
"authorName": "John Smith",
"authorProfileUrl": "https://www.facebook.com/john.smith.profile",
"text": "These look incredible! Can't wait to get a pair πŸ”₯",
"likesCount": 124,
"publishedAt": "2024-03-15T15:10:00.000Z",
"replies": []
}
],
"scrapedAt": "2024-03-16T09:00:00.000Z"
}

πŸ’° Pricing

This actor uses the pay-per-result model on Apify.

VolumeApproximate Cost
100 posts~$0.10
1,000 posts~$0.80
10,000 posts~$6.00
100,000 posts~$50.00

Costs may vary based on page complexity, comment loading, and proxy usage. Run a small test first to estimate costs for your specific use case.


βš™οΈ How It Works

  1. Page Detection β€” The actor accepts both full URLs (https://facebook.com/nike) and short slugs (nike). It normalizes all inputs before scraping.

  2. Dynamic Feed Loading β€” Facebook uses infinite scroll and JavaScript-rendered content. This actor uses Playwright to emulate a real browser session, scrolling the page feed until maxPosts is reached or the feed is exhausted.

  3. Data Extraction β€” Post data (text, engagement metrics, timestamps, media URLs) is extracted using robust CSS selectors and DOM traversal. The actor handles multiple post formats: text-only, photo, video, event, link-share.

  4. Comment Loading β€” When includeComments is enabled, the actor clicks "View more comments" links and extracts comment threads up to maxComments per post.

  5. Proxy Rotation β€” Residential proxies are used to avoid detection and rate-limiting. Each request cycle rotates IP addresses to maintain session health.

  6. Output β€” All scraped data is pushed to Apify's dataset in real-time as posts are scraped, meaning you can stream results even during long runs.


⚠️ Limitations

  • Public pages only β€” This actor cannot access private profiles, groups, or any content requiring Facebook login
  • Dynamic content β€” Some post types (Stories, Reels, Watch videos) may not be fully supported in all cases
  • Rate limiting β€” Facebook aggressively rate-limits scrapers. Very high maxPosts values (500+) per run may occasionally encounter soft blocks; using residential proxies minimizes this
  • Engagement accuracy β€” Facebook sometimes shows approximate counts (e.g., "45K likes" instead of exact numbers); the actor returns the best available precision
  • Historical posts β€” The scraper follows Facebook's feed chronologically. Very old posts (3+ years) may require many scroll operations and increase runtime
  • Geographical restrictions β€” Some pages show different content in different regions; proxy location may affect results
  • Facebook ToS β€” Use this tool responsibly and in accordance with Facebook's Terms of Service. Only scrape publicly available data


πŸ“ž Support

Having issues? Check the Apify documentation or open a support ticket. For actor-specific bugs, use the Issues tab on this actor's page.