Facebook Comment Scraper
Pricing
Pay per usage
Facebook Comment Scraper
Free to use : Extract all comments from any Facebook reel, video Supports pagination, nested replies, and bulk URLs. Uses your browser cookies for authenticated access.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

FlowExtract API
Actor stats
2
Bookmarked
2
Total users
1
Monthly active users
2 hours ago
Last modified
Categories
Share
π¬ Facebook Comment Scraper Extract Comments from Reels, Videos & Posts
Facebook Comment Scraper extracts all comments from any Facebook reel, video, photo, or post using your authenticated browser session. It handles full pagination, and bulk URLs in a single run delivering clean, structured data ready for analysis, moderation, or sentiment research.
Perfect for social media researchers, community managers, and marketers who need Facebook comment data without manually scrolling through thousands of posts.
Why scrape Facebook comments?
Facebook is one of the largest social networks in the world, with billions of public posts generating millions of comments daily. Whether you're tracking brand sentiment, researching audience reactions, or building moderation tools, comment data is invaluable but Facebook provides no official API for bulk comment extraction.
Here are the most common use cases:
- Sentiment analysis: Feed comments into NLP models to measure positive, negative, or neutral reactions to a product, campaign, or event.
- Content moderation: Identify toxic, spammy, or policy-violating comments at scale across multiple posts.
- Competitive research: Monitor comments on competitor posts to understand audience pain points and opportunities.
- Community management: Export all comments from your brand's reels or videos for reporting and response tracking.
- Academic research: Study public discourse, language patterns, or viral content dynamics on Facebook.
- Lead generation: Identify engaged users in niche communities who comment on relevant posts.
What data can Facebook Comment Scraper extract?
π¬ Comment Data
- Comment ID Facebook's unique identifier for the comment
- Comment text full body of the comment
- Created at ISO 8601 timestamp of when the comment was posted
- Like count total reactions on the comment
π€ Author Data
- Author ID Facebook user ID
- Author name display name of the commenter
- Profile picture URL thumbnail image of the author
π Source Metadata
- Source URL full URL of the scraped post or reel
- Source ID numeric Facebook content ID
- Source type
reel,post,video, orphoto
π Run Metadata
- Scraped at ISO 8601 timestamp of when the record was collected
βοΈ How to use Facebook Comment Scraper
Input Options
urls (Array required)
List of Facebook URLs or numeric IDs to scrape comments from.
| Input value | What it extracts |
|---|---|
https://www.facebook.com/reel/123456789 | All comments from that reel |
https://www.facebook.com/watch/?v=123456789 | All comments from that video |
123456789 | Same as above raw numeric ID works |
{"urls": ["https://www.facebook.com/reel/813381761171953","https://www.facebook.com/watch/?v=123456789","987654321"]}
β οΈ Share links (
https://www.facebook.com/share/p/...) are not supported. Open the post directly in your browser and copy the URL from the address bar instead.
maxResults (Integer optional)
- Default:
0(no limit fetches all available comments) - Useful for sampling large posts with thousands of comments without incurring unnecessary costs.
{"urls": ["https://www.facebook.com/reel/813381761171953"],"maxResults": 500}
customCookies (Array required for most posts)
A JSON array of browser cookie objects exported from your Facebook session. Without valid cookies, Facebook will either block requests or return no comments for non-public content.
{"customCookies": [{ "name": "c_user", "value": "100073931291073" },{ "name": "xs", "value": "29%3AKUx..." },{ "name": "datr", "value": "abc123xyz" }]}
π Authentication
Facebook requires an authenticated session to load comments reliably
| Method | How to get it | When to use |
|---|---|---|
| Cookie JSON array (recommended) | Export from browser extension | Always most reliable |
How to export your cookies (recommended method)
- Install the Copy Cookies Chrome extension
- Log in to
facebook.comin your browser - Click the extension icon β Copy as JSON
- Paste the result into the
customCookiesfield
Alternatively, use Cookie-Editor: open it on facebook.com, click Export β Export as JSON, and paste the result.
β οΈ Security: Your cookies provide full access to your Facebook account. They are treated as secrets and are never logged, stored, or shared. Use a dedicated Facebook account for scraping if you are concerned about account security.
β οΈ Session expiry: Facebook cookies expire or rotate regularly. If you start seeing empty results or errors, re-export your cookies and update the input.
π Sample Output
Each dataset item represents a single comment or reply:
{"source": {"id": "813381761171953","url": "https://www.facebook.com/reel/813381761171953","type": "reel"},"comment": {"id": "1479283777186556","parent_id": null,"author": {"id": "100002510632513","name": "Rachid Alaoui","profile_picture": "https://scontent.ftlm1-1.fna.fbcdn.net/v/..."},"text": "Great content, thanks for sharing!","created_at": "2026-03-11T15:19:12.000Z","like_count": 16,"reply_count": 3},"scraped_at": "2026-03-12T22:07:04.605Z"}
β Frequently Asked Questions
Do I need a Facebook account to use this actor?
Yes. Facebook heavily restricts unauthenticated access to comments. You'll need to export cookies from a logged-in browser session and paste them into the customCookies field.
How many comments can I extract for free? Apify gives new users $5 in free credit. Based on typical compute usage, you can expect to extract roughly 5,000β50,000 comments within that budget, depending on post size and number of URLs.
Can I scrape multiple URLs in one run?
Yes add as many URLs as you need to the urls array. The actor processes them sequentially, saving state after each URL so a crash or migration doesn't lose progress.
What happens if the run crashes mid-way? The actor saves its progress after every successfully scraped URL. If it's interrupted (crash, migration, abort), it resumes from the next unprocessed URL when re-run no duplicate data.
Why am I getting empty results?
The most common cause is expired or missing cookies. Re-export your cookies from the browser and update the customCookies input. Also check that your Facebook account is still logged in and not temporarily restricted.
What URL formats are supported?
Reels (/reel/), videos (/watch/?v=), and raw numeric IDs. Share links (/share/p/) are not supported.
Can I use this for private groups? Only if your authenticated account is a member of that group. The actor uses your browser session, so it can access anything your account can see.
π Resumability
The actor saves state after every successfully processed URL. If it crashes, gets migrated, or is manually aborted, it resumes exactly where it left off on the next run no duplicate pushes, no lost progress.
| Trigger | What gets saved |
|---|---|
| After each URL completes | processedIds list + currentIndex |
Apify migrating event | Full state snapshot |
| End of run | State cleared (clean slate for next run) |
π« Error Handling
| Situation | What you see in logs | What to do |
|---|---|---|
| Expired or missing cookies | No valid session requests may be rate-limited | Re-export cookies from your browser and update input |
| Unsupported URL format | Cannot extract Facebook ID from input: ... | Use a direct post/reel URL, not a share link |
| Facebook returns empty response | Could not parse comments from initial response | Check cookies are valid; try again in a few minutes |
| Post has 0 comments | Total comments reported by Facebook: 0 | Expected no data to collect |
π€ Support & Resources
Get Help
- π Website: flowextractapi.com
- π§ Email: flowextractapi@outlook.com
- π Apify Profile: FlowExtract API
- π¬ GitHub Issues: FlowExtractAPI
Social Media
- πΌ LinkedIn: flowextract-api
- π¦ Twitter: @FlowExtractAPI
- π± Facebook: flowextractapi
π Related Actors by FlowExtract API
π¬ Video & Media
- YouTube Transcript Extractor - Extract transcripts with timestamps
- YouTube Scraper Pro - Complete channel and playlist extraction
- Zoom Scraper - Download recordings and transcripts
- Loom Scraper - Loom video and transcript extraction
π Real Estate
- Idealista Scraper API - Spanish property data with API
- Idealista Scraper - Real estate listings extractor
π οΈ Developer Tools
- Screenshot - Fast webpage screenshots
- Ultimate Screenshot - Advanced screenshot tool
- Network Security Scanner - Security vulnerability scanner
π± Social Media
- Facebook Ads Scraper Pro - Extract Facebook ads data
βοΈ Legal & Compliance
- Public Data Access: Only processes publicly available Facebook Ad Library data
- Rate Limiting: Respects Facebook's service limits and terms of use
- Data Protection: No storage of personal information or unauthorized data collection
- Commercial Use: Suitable for business intelligence and research applications