Facebook Post Comments Scraper
Pricing
$4.99 / 1,000 results
Go to Apify Store

Facebook Post Comments Scraper
Extract comments from any public Facebook post using its post ID, with automatic pagination up to your specified maxResults.
Pricing
$4.99 / 1,000 results
Rating
5.0
(1)
Developer

PowerAI
Maintained by Community
Actor stats
2
Bookmarked
95
Total users
10
Monthly active users
a day ago
Last modified
Categories
Share
💬 Facebook Post Comments Scraper
Extract comments from any public Facebook post using its post ID. This actor leverages the latest Facebook post comments API and supports automatic pagination to collect up to your specified maxResults.
Features
- Scrape comments from any public Facebook post using its post ID.
- Automatic pagination to fetch large result sets.
- Returns structured comment data including author information, message content, and reactions.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| post_id | string | Yes | The Facebook post ID to scrape comments from. |
| maxResults | integer | No | Maximum number of comments to fetch (default: 100) |
Output
Each output item is a Facebook comment object:
[{"type": "comment","comment_id": "Y29tbWVudDo5NDM5NDIxODExMTExMzZfMzgxNjMxMDE5NTM1NTQzNg==","legacy_comment_id": "3816310195355436","depth": 0,"created_time": 1723651442,"message": "The benefits of using AI","author": {"id": "100070536263321","name": "The Cluster House","gender": "MALE","url": "https://www.facebook.com/brunoshaffy"},"replies_count": 3,"reactions_count": "١١","expansion_token": "MjoxNzQ4NTA3MjUwOgF1BGj_pA-19lxIB17pAb8cqEgPQ1weS2ZNFM3jOoD_vkJWTv8KNk27zlHYxg3dwI4bA2-PkPxoD0BmCdkvjZAByGFFKlWptL7-Qc9eQuEB8NdnQQ6dkwhSPwOgrj4O5oa-qB6XSzDsTlabRU1xJdmouTm2fQmEN5YECEJ7MOVL7xDBHlRmLh0JVebW53zlz295SoA6X1tMzfaHaD2J0JWok8pWlOy7hDfGs48MMM6bi8jBvM5U4uSecqtpJ0VZ46c0nY0zd3mbecGeyyQq-Lls4VXeOO3BRk8PmBGEKrkGda5DEGqVeqnR1G2_Man7ZzhW2u51I30sJeHRa-KjFyBkzvYGgzqjIf8gEmIf_3hZHPBjvEY6HnpV8v8HyALkg2cCVqEilwVR_v0P6FiRdQgu","scrapedAt": "2025-05-29T08:27:32.425Z"},...]
Example Usage
{"post_id": "pfbid02BzYRNmoznsZjci5FuztPUb9mKd9ameNVYSBweaBEvb8oEzSMjcs8nbXnMkYA5Benl","maxResults": 10}
Notes
- The actor will automatically paginate through results until
maxResultsis reached or no more data is available. - Make sure the post ID is correct and the post is public.
- Comments are returned in chronological order.
- The depth field indicates the nesting level of the comment (0 for top-level comments).