Facebook Page Posts & Comments Scraper
Pricing
from $1.00 / 1,000 results
Facebook Page Posts & Comments Scraper
Scrape public Facebook Page, profile, and Group posts with comments and replies. Bulk URLs, date filters, no login. Structured JSON for brand monitoring, sentiment, and research.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
DataFusionX
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 days ago
Last modified
Categories
Features
Share
Scrape public Facebook posts, comments, and replies without login.
Pages, public profiles, Groups, and single post URLs — bulk targets, date filters, structured JSON/CSV for brand monitoring, sentiment, and research.
Overview
The Facebook Page Posts & Comments Scraper extracts public timeline posts and their comment threads from Facebook. Paste a Page handle (ronaldo), a public profile or Group URL, or a single post/reel/permalink — the Actor resolves the target, paginates posts, and streams post and comment rows to the dataset.
No Facebook account or cookies are required. Only public content visible while logged out is reachable.
Primary keywords: facebook posts scraper, facebook comments scraper, facebook page scraper, scrape facebook comments, facebook group posts scraper, facebook post comments export.
Key features
| Feature | Detail |
|---|---|
| No login | Anonymous GraphQL access to public Pages / Groups / posts |
| Bulk targets | Multiple handles and URLs in one run |
| Posts + comments | Engagement counts, reaction breakdown, nested replies |
| Date window | afterDate / beforeDate with timezone |
| Linear or nested output | One row per post/comment (CRM/CSV-friendly) or nested bundles |
| Posts-only mode | Feed inventory without comment cost |
| Streaming | Dataset updates as each post finishes |
| Residential proxy | Recommended; switch country if a public feed returns empty |
Supported targets
| Target | Example input |
|---|---|
| Page | ronaldo, https://www.facebook.com/ronaldo |
| Profile | profile.php?id=…, /people/Name/id/ (if public logged-out) |
| Group | https://www.facebook.com/groups/123… (public only) |
| Post | /posts/…, /permalink/…, /reel/…, ?story_fbid=…, pfbid… |
Private groups, login-gated profiles, and age/geo-restricted posts cannot be scraped anonymously.
Input
Example — bulk page feed
{"startUrls": ["ronaldo", "https://www.facebook.com/Meta"],"maxPosts": 3,"maxComments": 100,"profile": "tops_only","linearOutput": true,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Example — date window (maxPosts ignored)
{"startUrls": ["yourbrand"],"afterDate": "2026-07-31","beforeDate": "2026-08-01","dateTimezone": "+3","profile": "tops_only","maxComments": 500}
Example — single post thread
{"startUrls": ["https://www.facebook.com/ronaldo/posts/pfbid0…"],"maxComments": 200,"profile": "default"}
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
startUrls | string[] | — | Handles or full Facebook URLs (bulk) |
pageOrUrl | string | — | Optional single target merged into the list |
maxPosts | integer | 3 | Recent posts per feed (ignored for post URLs / date filter) |
maxComments | integer | — | Cap top-level comments per post |
profile | enum | tops_only | tops_only · default · full_replies |
postsOnly | boolean | false | Skip comment scraping |
linearOutput | boolean | true | Flat post/comment rows vs nested bundle |
includeRepliesInLinear | boolean | true | Emit replies as comment rows |
afterDate / beforeDate | string | — | YYYY-MM-DD window |
dateTimezone | string | UTC | Timezone for calendar bounds |
proxyConfiguration | object | residential | Apify proxy settings |
engine | enum | async | async or threads |
Output
Post row (type: "post")
{"type": "post","sourceUrl": "ronaldo","postId": "1234567890","pageName": "Cristiano Ronaldo","text": "Training day…","permalink": "https://www.facebook.com/…","commentCount": 740,"reactionCount": 12000,"shareCount": 800,"reactions": [{ "type": "like", "count": 9000 }, { "type": "love", "count": 2000 }],"createdAt": "2026-07-28T12:00:00+00:00","topsScraped": 100,"totalScraped": 100,"coverage": 0.14,"scrapedAt": "2026-11-06T07:00:00+00:00"}
Comment row (type: "comment")
{"type": "comment","sourceUrl": "ronaldo","postId": "1234567890","commentId": "…","parentCommentId": null,"isReply": false,"author": "Jane Doe","text": "Legend!","reactionCount": 4,"createdAt": "2026-07-28T13:10:00+00:00","scrapedAt": "2026-11-06T07:00:01+00:00"}
Export from the Dataset tab as JSON, CSV, or Excel, or pull via the Apify API / MCP.
How to use
- Open the Actor on Apify and click Try for free.
- Add one or more Page handles or Facebook URLs under startUrls.
- Set
maxPosts/maxComments(start small on a quiet page to estimate cost). - Keep residential proxy on; change country if results are empty.
- Run → open Dataset → filter Posts / Comments views.
Runtime notes
- Comment pagination has no artificial page cap unless
maxCommentsis set. Viral posts take longer and use more proxy bandwidth. - Measure one post on your target before scaling
maxPosts. - Empty public feeds are often proxy country issues, not Actor bugs.
Use cases
- Brand and competitor Facebook comment monitoring
- Sentiment / VoC pipelines on public threads
- Market research on viral posts
- Group discussion export (public Groups)
- LLM / RAG corpora from public comments
Limitations
- Public content only (no private Groups or login-gated profiles)
- Nested replies are one level deep when enabled
- Facebook may rate-limit or geo-filter; use residential proxies
- GraphQL
doc_idvalues can drift; the engine treats them as configurable
FAQ
Does this Facebook comments scraper need a login?
No. It uses anonymous access suitable for public Pages, Groups, and posts.
Can I scrape a Facebook Group?
Yes — public Groups only. Private Groups require authentication and are out of scope for this Actor.
Why did I get 0 posts?
Common causes: wrong proxy country, private/login-gated target, or a handle that does not resolve logged-out. Try a numeric id, a direct post URL, or another residential country.
How is this different from browser scrapers?
It talks to Facebook’s public GraphQL endpoints (same family of queries used by the site), which is typically faster and more stable for comment pagination than pure HTML scraping.
Can AI agents run this Actor?
Yes. Use the Apify API, Python/JS SDK, or MCP connector. See AGENTS.md for machine-oriented input/output contracts.
Legal
You are responsible for complying with Facebook’s Terms of Service and applicable privacy laws (comment author names are personal data). Use scraped data only with a lawful basis.