Facebook Post & Comment Scraper for Pages, Groups and Profiles
Pricing
from $1.00 / 1,000 results
Facebook Post & Comment Scraper for Pages, Groups and Profiles
Scrape public Facebook posts from pages, groups, and profiles with best-effort comment extraction. Collect post text, post IDs, permalinks, likes, shares, comment counts, profile data, media URLs, and comment samples. Built for Apify with fallback scraping and proxy suppor
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
111
Total users
24
Monthly active users
a day ago
Last modified
Categories
Share
Facebook Post Scraper for Apify
Scrape public Facebook posts, comments, and replies from pages, groups, and profiles.
At a glance: input examples include public Facebook page names, profile paths, group paths, and URLs; output examples are post, comment, and reply dataset rows; use cases include monitoring and public content research; limitations, troubleshooting, and pricing/cost notes are covered below.
This Actor is designed first as an open public scraper. It aims to balance coverage, speed, and cost without requiring a Facebook token.
What it extracts
For posts, the Actor can collect:
- Post author or page name
- Post text
- Post timestamp
- Post permalink URL
- Post ID
- Likes, shares, and visible comment counts
- Profile and page details when available
- Media URLs and outbound links
- Bounded visible comments and replies for selected posts
Supported targets
You can scrape:
- Public Facebook pages
- Public Facebook groups
- Public Facebook profiles
- Multiple targets in one run
Targets can be passed as:
- Full Facebook URLs
- Page names like
NASA - Group or profile paths like
groups/apify
Simple input fields
These are the main fields most users need:
targets: Facebook URLs, page names, or group pathsstartUrls: optional URL list alternative totargetsmaxPosts: maximum posts to return for the processed target, capped at 5proxyConfiguration: optional proxy settings
The public scraping strategy is fixed to bounded deep mode to keep costs predictable while still collecting comments. The Actor processes the first target in each run, enriches up to 2 posts, and recovers up to 5 visible comments/replies per enriched post. Advanced legacy inputs are still accepted for backward compatibility, but performance and enrichment overrides are ignored.
Recommended input
For a practical no-token scrape:
{"targets":["nytimes","NASA"],"maxPosts":5,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}}
Output
The dataset contains post, comment, and reply items when comments are visible.
Post fields
Common post fields:
itemTypeinputTargetpostAuthorpostTimestamppostTextpostUrlpostIdpostOwnerIdlikesCountsharesCountcommentCountValueprofileNameprofileUrlprofileUsernameprofileIdprofileImageUrlprofileFollowersCounttargetTypetargetTitletargetDescriptiontargetImageUrltargetFollowersCounttargetUrlexternalUrlsmediaUrlsmediaCountscrapedAt
Comment and reply fields
Comment and reply rows can include:
itemTypeinputTargetparentPostIdparentPostUrlparentCommentIdparentCommentUrlisReplycommentTextcommentAuthorcommentAuthorUrlcommentTimestampcommentIdcommentUrlcommentSampleIndexscrapedAt
Example post item
{"itemType":"post","inputTarget":"NASA","postAuthor":"NASA - National Aeronautics and Space Administration","postTimestamp":"2026-05-01T00:00:00+0000","postText":"Post text...","postUrl":"https://www.facebook.com/NASA/posts/...","postId":"pfbid02abc...","likesCount":728,"sharesCount":42,"commentCountValue":61,"profileName":"NASA - National Aeronautics and Space Administration","profileUrl":"https://www.facebook.com/NASA","profileUsername":"NASA","externalUrls":["https://example.com"],"mediaUrls":["https://..."],"mediaCount":1,"scrapedAt":"2026-05-01T10:40:00+00:00"}
Operational notes
- The Actor always uses bounded deep/comment mode.
maxPostsis capped at 5 even if a higher value is sent through the API.- Only the first target is processed in a run.
- Up to 2 posts are enriched, with up to 5 comments/replies per enriched post.
- Performance and enrichment overrides are ignored to keep run costs bounded.
- Public Facebook coverage still varies by target, region, proxy quality, and login walls.
- Residential proxies usually improve coverage.
Limits
This is still a best-effort public scraper. Facebook can change markup, throttle anonymous browsing, or block access by region or IP. That means:
- some targets return posts and comments
- some targets return only a few
- some pages are much better with residential proxies
Summary
This Actor is built for teams who want clean Facebook post and comment data from public targets without exposing internal scraping details in the output.
