
Facebook Posts Scraper
Pricing
Pay per event

Facebook Posts Scraper
Scrape Facebook posts from Facebook pages, groups etc. Retrieve post URLs, content, publication dates, author details, and engagement metrics. Ideal for Facebook monitoring solutions.
0.0 (0)
Pricing
Pay per event
0
Total users
5
Monthly users
5
Runs succeeded
>99%
Last modified
a day ago
This apify actor scrapes public posts from Facebook groups or pages based on input URLs. It supports pagination and returns data including post content, timestamp, number of comments, reactions, and author information. Allows setting a time window to scrape posts only within some specified time. Ideal for social media monitoring solutions.
Input
The actor accepts the following input fields:
Field | Type | Required | Description |
---|---|---|---|
pageUrls | string[] | ✅ | A list of Facebook group or page URLs to scrape posts from. |
resultsLimit | number | ❌ | Maximum number of posts to extract from each URL (default: 10). |
timeWindow | number | ❌ | Defines how far back from today the posts should be retrieved, e.g. "Get posts from the last 7 days.". For short timeframes, it's recommended to use the 'Latest' Search Type. |
Example input
{"resultsLimit": 3,"pageUrls": ["https://www.facebook.com/groups/1054903574928547"]}
Output
The actor outputs an array of post objects in JSON format with the following fields:
Example output
{"url": "https://www.facebook.com/groups/1054903574928547/permalink/2303563860062506/","pageUrl": "https://www.facebook.com/groups/1054903574928547","timestamp": 1752519380000,"postText": "Hey, how can I save my geranium? I repotted it and now it’s wilting before my eyes. 😔","reactionsCount": 3,"reactions": {"like": 3,"love": 10,"sad": 15,"angry": 4,"haha": 1},"commentsCount": 20,"postId": "2303563860062506","author": {"id": "100055230212550","name": "Yyyyy Tttttt","profilePicture": "https://scontent-mad2-1.xx.fbcdn.net/v/t39.30808-1/274300141_461291382388532_2921259538884887660_n.jpg?...","profileUrl": "https://www.facebook.com/kttata.adasda.44"}}
Let me know if you need additional output fields! 🤙
Usage
- Create an Apify account and navigate to the actor.
- Configure input parameters in the Apify UI or via API.
- Run the actor and monitor execution logs.
- Download extracted comments as JSON, CSV, or Excel.
Limitations & Notes
- Scraping Facebook data must comply with their Terms of Service.
- Avoid excessive scraping to prevent IP bans.
- The accuracy of data depends on Facebook’s page structure and visibility settings.
- Rate-limited – Free users can make only a few requests per day. Contact us if you need higher or custom limits!
Works Best With
For the best results, use this scraper alongside Facebook Posts Search.
Before extracting comments, you can use the Facebook Posts Search actor to gather post URLs based on specific keywords. Then, pass those URLs into this Facebook Comments Scraper to collect comments associated with those posts. ✅ Best Use Case Scenario
- Run Facebook Posts Search Scraper → Collect posts based on your search criteria.
- Feed post URLs into Facebook Comments Scraper → Extract comments for each post.
- Gain complete insights → Combine posts and comments for a full dataset, useful for engagement analysis, sentiment tracking, and social media monitoring.
This combination provides a powerful way to analyze conversations happening around specific posts! 🚀
Other Recommended Scrapers
If you're working with multiple platforms or want additional data sources, check out these scrapers:
- 🐦 X (Twitter) Posts Search — Find posts/tweets based on keywords, hashtags, and more
- 🐦 X (Twitter) Post Replies Scraper — Scrap replies of multiple X (Twitter) posts
- 🐦 X (Twitter) Profile Posts Scraper — Scrap posts of specific X (Twitter) profile
- 📘 Facebook Posts Search — Discover Facebook posts for a given topic or page
- 📘 Facebook Comments Scraper — Extract comments from public Facebook posts
- 📘 Facebook Reactions Scraper — Scrap reactions from Facebook posts (like, sad, haha, angry etc.)
- 👟 Zalando Price Alert — Track Zalando products and receive alerts when prices drop
- 🎬 YouTube Search Scraper — Extract videos from search queries
- 🎬 YouTube Comments Scraper — Extract comments from posted videos
Support & Contact
✉️ If you encounter issues or need help, feel free to open an issue or contact us at scraper1one@gmail.com.