![Facebook Comments Scraper avatar](https://images.apifyusercontent.com/_tldtBUVfkeV5d9Myf6ZK4Y69CB9QdsM1CAGaiTHk4k/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91czVzcnhBWW5zcmtnVXYydi9DRmhNYUhOb0J5ZGo2TkdjNS1GYWNlYm9va19Db21tZW50c19TY3JhcGVyLnBuZw.webp)
Facebook Comments Scraper
Try for free
7 days trial then $40.00/month - No credit card required now
View all Actors![Facebook Comments Scraper](https://images.apifyusercontent.com/_tldtBUVfkeV5d9Myf6ZK4Y69CB9QdsM1CAGaiTHk4k/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91czVzcnhBWW5zcmtnVXYydi9DRmhNYUhOb0J5ZGo2TkdjNS1GYWNlYm9va19Db21tZW50c19TY3JhcGVyLnBuZw.webp)
![Facebook Comments Scraper](https://images.apifyusercontent.com/_tldtBUVfkeV5d9Myf6ZK4Y69CB9QdsM1CAGaiTHk4k/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS91czVzcnhBWW5zcmtnVXYydi9DRmhNYUhOb0J5ZGo2TkdjNS1GYWNlYm9va19Db21tZW50c19TY3JhcGVyLnBuZw.webp)
Facebook Comments Scraper
apify/facebook-comments-scraper
Try for free
7 days trial then $40.00/month - No credit card required now
Extract data from hundreds of Facebook comments from one or multiple Facebook posts. Get comment text, timestamp, likes count and basic commenter info. Download the data in JSON, CSV, Excel and use it in apps, spreadsheets, and reports.
Do you want to learn more about this Actor?
Get a demoThe code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "startUrls": [
8 {
9 "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
10 }
11 ],
12 "resultsLimit": 50
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/apify~facebook-comments-scraper/runs?token=$API_TOKEN" \
19 -X POST \
20 -d @input.json \
21 -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
- 456 monthly users
- 45 stars
- 100.0% runs succeeded
- 2.4 days response time
- Created in Nov 2022
- Modified 1 day ago
Categories