Facebook Comments Scraper avatar
Facebook Comments Scraper

Pricing

$10.00/month + usage

Go to Store
Facebook Comments Scraper

Facebook Comments Scraper

donjuan_mime/facebook-comments-scraper

Developed by

donjuan

Maintained by Community

Facebook Comments Scraper is a tool designed to efficiently extract comments from Facebook posts. Built for the Apify platform and powered by Playwright, this scraper automates the comment collection process.

0.0 (0)

Pricing

$10.00/month + usage

1

Monthly users

3

Runs succeeded

>99%

Last modified

6 days ago

Facebook Comment Scraper

A script for scraping comments from a Facebook post.

Overview

This script is designed for the Apify platform and leverages Playwright to extract comments from a specified Facebook post.

Input

Parameters

  • post_url: The URL of the Facebook post to scrape.
  • count: The maximum number of comments to retrieve.

Format

1{
2  "count": 100,
3  "post_url": "https://www.facebook.com/serhiyprytula/posts/pfbid0PSsjQurb8ayphY2vBssRjkYuXwpmFh4oRtwhTNQFpDSpmF1n2XYmirvCs6Riohq8l"
4}

Output

The script returns a JSON array where each object represents a comment, including details such as the author, date, number of likes, number of replies, and comment text.

Example Output

1[
2  {
3    "text": "І «Два перстені». Коли виплачемо❤️‍🩹",
4    "date": "39w",
5    "likes": 0,
6    "replies": 1,
7    "author": {
8      "url": "https://www.facebook.com/olena.danko",
9      "username": "Olena Pshenychna"
10    }
11  }
12]

How to Use

  1. Create a new task on the Apify platform.
  2. Configure the task with the input JSON, specifying the desired post_url and count.
  3. Execute the task. The script will process the input and return the scraped comments from the specified Facebook post.

Disclaimer

This script is provided "as is" without any warranties. Users are fully responsible for its use. Ensure compliance with Facebook's terms of service and applicable legal regulations when using this scraper.

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$10.00