Facebook Pages & Posts Scraper — Public Page Data, Followers &  avatar

Facebook Pages & Posts Scraper — Public Page Data, Followers &

Pricing

Pay per usage

Go to Apify Store
Facebook Pages & Posts Scraper — Public Page Data, Followers &

Facebook Pages & Posts Scraper — Public Page Data, Followers &

Extract public data from Facebook Pages: page name, category, follower count, likes, about text, website, phone, email, address. Scrape posts with full text, engagement metrics (likes, comments, shares), dates, and images. Ideal for lead generation, competitor monitoring, and social listening. No lo

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Ricardo Akiyoshi

Ricardo Akiyoshi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 hours ago

Last modified

Categories

Share

Facebook Pages & Posts Scraper

Extract public data from Facebook Pages at scale. Scrape page metadata (name, category, followers, contact info) and posts with full engagement metrics. No Facebook login required.

What it does

This actor scrapes public Facebook Pages using Facebook's mobile site (m.facebook.com) for reliable HTML parsing. It extracts two types of data:

Page Information

  • Page name and category (e.g., Restaurant, Public Figure, Company)
  • Like count and follower count
  • About text / page description
  • Website, phone number, email address, physical address
  • Profile image and cover image URLs

Post Data

  • Full post text (up to 5,000 characters)
  • Engagement metrics: likes/reactions, comments, shares
  • Post date (absolute or relative timestamp)
  • Post image URL
  • Direct post URL (cleaned, no tracking parameters)

Use Cases

Lead Generation

Scrape business pages in your industry to build contact lists. Extract website URLs, phone numbers, and email addresses from Facebook Pages that list their contact information publicly.

Competitor Monitoring

Track competitor pages to monitor their posting frequency, engagement rates, and content strategy. Compare follower growth and audience interaction patterns across multiple competitors.

Social Listening & Market Research

Analyze post engagement to understand what content resonates with specific audiences. Track trending topics and audience sentiment across pages in your niche.

Brand Monitoring

Monitor mentions and engagement on brand pages. Track how customers interact with your brand's Facebook presence over time.

Content Strategy

Study high-performing posts from industry leaders. Identify optimal posting times, content formats, and topics that drive engagement in your market.

Academic & Journalism Research

Collect public page data for research on social media engagement patterns, public discourse analysis, or investigative journalism on public-facing organizations.

Input

ParameterTypeDefaultDescription
pageUrlsarray(required)Facebook Page URLs. Accepts https://www.facebook.com/NASA, https://m.facebook.com/NASA, or just NASA
maxPostsinteger20Max posts per page. Set to 0 for page info only
scrapePageInfobooleantrueExtract page metadata
scrapePostsbooleantrueExtract posts
maxConcurrencyinteger2Concurrent requests (1-2 recommended)
proxyConfigurationobject-Residential proxies strongly recommended

Example Input

{
"pageUrls": [
"https://www.facebook.com/NASA",
"https://www.facebook.com/cocacola",
"Tesla"
],
"maxPosts": 50,
"scrapePageInfo": true,
"scrapePosts": true,
"maxConcurrency": 2,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Output

Page Info Record

{
"type": "page_info",
"pageName": "NASA",
"pageCategory": "Government Organization",
"likes": 25400000,
"followers": 29800000,
"about": "Explore the universe and discover our home planet with NASA.",
"website": "https://www.nasa.gov",
"phone": null,
"email": "public-inquiries@hq.nasa.gov",
"address": "300 E Street SW, Washington, DC 20546",
"pageUrl": "https://www.facebook.com/NASA",
"profileImageUrl": "https://scontent...",
"coverImageUrl": "https://scontent...",
"scrapedAt": "2026-03-01T12:00:00.000Z"
}

Post Record

{
"type": "post",
"pageName": "NASA",
"pageId": "NASA",
"postText": "The International Space Station just completed its 150,000th orbit around Earth...",
"likes": 45200,
"comments": 1800,
"shares": 12400,
"postDate": "2026-02-28T15:30:00.000Z",
"imageUrl": "https://scontent...",
"postUrl": "https://www.facebook.com/NASA/posts/123456789",
"scrapedAt": "2026-03-01T12:00:00.000Z"
}

Tips for Best Results

  1. Use residential proxies. Facebook aggressively blocks datacenter IPs. Apify's RESIDENTIAL proxy group provides the best success rate.

  2. Keep concurrency low (1-2). Facebook rate-limits aggressively. Slow and steady wins.

  3. Start with small batches. Test with 1-2 pages and 10-20 posts before scaling up.

  4. Public pages only. This actor cannot access private profiles, closed groups, or content behind login walls. It extracts only publicly visible data.

  5. Expect partial data. Even with proxies, Facebook may serve login walls for some pages. The actor extracts whatever is available from meta tags in those cases (marked with "partial": true).

  6. Post limits. Facebook's mobile feed loads posts incrementally. Very old posts may not be accessible even with high maxPosts values.

How it Works

  1. Normalizes input URLs to m.facebook.com (mobile site).
  2. Requests the /about page for metadata and the main page for posts.
  3. Parses HTML with Cheerio -- extracts data from the DOM, meta tags, and embedded JSON in <script> tags.
  4. Rotates across 12+ mobile User-Agent strings to mimic real devices.
  5. Handles login walls gracefully by falling back to og: meta tags.
  6. Paginates through posts using Facebook's "See More" links.
  7. Deduplicates posts and cleans URLs.

Limitations

  • Public content only. Cannot access private pages, personal profiles, or group posts.
  • Login walls. Facebook may block some requests even with proxies. Partial data is returned when possible.
  • Rate limiting. Facebook limits how many pages you can view per IP. Residential proxies help but cannot eliminate all blocks.
  • No comments scraping. Individual post comments are not extracted (would require separate requests per post).
  • Engagement numbers are approximate. Facebook sometimes shows abbreviated counts (e.g., "1.2K") which are parsed to estimated numbers.

Pricing (Pay Per Event)

This actor charges per result:

  • Page info: 1 event per page scraped
  • Posts: 1 event per post scraped

License

MIT