Facebook Comments Scraper avatar

Facebook Comments Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Facebook Comments Scraper

Facebook Comments Scraper

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapAPI

ScrapAPI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape comments and replies from public Facebook posts and videos.

Features

  • Bulk URLs: Process multiple post URLs in one run
  • Comments + Replies: Fetches top-level comments and nested replies
  • Proxy Fallback: Starts with no proxy; falls back to datacenter then residential if Facebook blocks
  • Sort Options: most_relevant, newest, or original order

Input

FieldTypeDefaultDescription
startUrlsarrayrequiredFacebook post/video URLs
proxyConfigurationobjectrequiredApify proxy config (useApifyProxy: false = no proxy by default)
maxCommentsinteger100Max comments per post
maxRepliesPerCommentinteger2Max replies per comment
commentsSortOrderstring"all"most_relevant, newest, or all

Output

Each item in the dataset contains:

  • url_key: Short post identifier
  • full_url: Full Facebook post URL
  • comments: Array of comment objects with text, profileName, date, reply, etc.
  • commentsCount: Total comments
  • repliesCount: Total replies
  • error: Present if processing failed

How to Use

  1. Go to Apify Console → Actors
  2. Run facebook-comments-scraper
  3. Add Facebook post URLs in startUrls
  4. Run and view results in the OUTPUT tab

Proxy Behavior

  • Default: No proxy
  • If blocked: Fallback to datacenter (SHADER)
  • If datacenter blocked: Fallback to residential, retry 3x
  • After fallback: Uses residential for all remaining requests

Cautions

  • Data from publicly available posts only
  • Comply with Facebook's Terms of Service and applicable privacy laws
  • Use responsibly