Facebook Comments Scraper
Pricing
from $5.71 / 1,000 results
Go to Apify Store
Pricing
from $5.71 / 1,000 results
Rating
5.0
(1)
Developer
Mina Safwat
Maintained by Community
Actor stats
1
Bookmarked
10
Total users
6
Monthly active users
19 days ago
Last modified
Categories
Share
An Apify Actor that scrapes comments from Facebook posts.
Features
- Scrapes comments from public Facebook posts
- Supports residential proxies for reliable scraping
- Configurable comments limit per post
- Automatic retry on failed requests
Input
| Field | Type | Description | Default |
|---|---|---|---|
start_urls | Array | List of Facebook post URLs to scrape | Required |
comments_limit | Number | Default maximum comments to scrape per post | 10 |
Input Example
{"comments_limit": 10,"start_urls": [{"url": "https://www.facebook.com/page/posts/postid"},{"url": "https://www.facebook.com/page/posts/postid2", "comments_limit": 50}]}
You can set comments_limit globally or override it per URL.
Output
Each comment is saved with the following fields:
| Field | Description |
|---|---|
comment_id | Unique comment ID |
user_id | Commenter's user ID |
user_name | Commenter's display name |
user_url | Commenter's profile URL |
avatar | Commenter's profile picture URL |
gender | Commenter's gender |
content | Comment text |
text | Comment text (alias) |
likes_count | Number of reactions |
create_time | Comment timestamp (milliseconds) |
Output Example
{"comment_id": "123456789","user_id": "100000000000000","user_name": "John Doe","user_url": "https://www.facebook.com/johndoe","avatar": "https://scontent.facebook.com/...","gender": "male","content": "Great post!","text": "Great post!","likes_count": "5","create_time": 1742137931000}