Facebook Posts/Comments Scraper
Pricing
$25.00/month + usage
Facebook Posts/Comments Scraper
Facebook Post Scraper with Comments extracts Facebook post details, including text, author info, likes, shares, and media. It also scrapes comments with user details, engagement metrics, and timestamps. Ideal for social media monitoring, sentiment analysis, and audience insights.
Pricing
$25.00/month + usage
Rating
5.0
(1)
Developer

Alien Force
Actor stats
17
Bookmarked
426
Total users
36
Monthly active users
9.8 hours
Issues response
5 days ago
Last modified
Categories
Share
Facebook Post Scraper with Comments
π Introduction
Facebook Post Scraper with Comments is a powerful and efficient Apify actor designed to scrape Facebook posts along with their comments. This tool allows you to extract valuable data, including post details, reactions, images, videos, and comments, helping you analyze engagement and user interactions.
π Key Features
- π Scrape Facebook Posts β Extracts details such as text, author info, likes, comments, and shares.
- π¬ Retrieve Post Comments β Collects user comments, including author details, engagement counts, and timestamps.
- πΈ Media Extraction β Fetches images and videos attached to posts and comments.
- β³ Customizable Wait Times β Set min/max wait times for requests.
- πͺ Supports Cookies β Allows adding Facebook cookies for authenticated scraping.
π Use Cases
- π Social Media Monitoring β Analyze public discussions and trends.
- π Brand Sentiment Analysis β Track reactions and engagement on brand posts.
- π Influencer Research β Extract data from influencer posts and comments.
- π Market Research β Gather insights on trending topics and audience behavior.
π§ Input Schema
The actor accepts the following JSON input structure:
{"post_urls": [{"url": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02reBdcEgYdgLLP92A7ZJ6KLPcNq3LHha9TjYi2k2ytbeS2q2rxkhCqAWy2m6j3TkRl"}],"fetch_reaction_map": false,"comments_limit": 5,"min_wait_time_in_sec": 1,"max_wait_time_in_sec": 4,"cookies": [],"proxyConfiguration": {"useApifyProxy": true}}
π€ Output Schema
The output will be an array of scraped posts and comments in the following JSON format:
{"input": "https://www.facebook.com/reel/1397741784161219","author": null,"post_id": "1397741784161219","action_id": "ZmVlZGJhY2s6NzU0NTY5MTA2NzEyMTkx","text": "Cette voix π€©\nTeddy Swims est venu interprΓ©ter dans nos studios son titre \"Lose Control\" π€","create_time": 1703340048000,"post_url": "https://www.facebook.com/reel/1397741784161219","like_count": 26607,"comment_count": 1616,"share_count": 9,"view_count": 4000000,"reaction_map": [],"play_count": 4000000,"image_list": [],"video_list": ["https://video.fcai20-2.fna.fbcdn.net/o1/v/t2/f2/m366/..."],"video_cover_image": ["https://scontent.fcai20-4.fna.fbcdn.net/v/t15.5256-10/..."],"durationInSec": [221.92],"type": "video","author_username": "Skyrock","author_user_id": "100064773248135","author_profile_url": "https://www.facebook.com/SkyrockFM","author_avatar": "https://scontent.fcai20-5.fna.fbcdn.net/v/t39.30808-1/...","comments": []}
Note: The reaction_map field contains reaction breakdown data when fetch_reaction_map is enabled. It is an array of objects with name, count, and parsed_count properties. Example:
{"reaction_map": [{"name": "Like","count": 166,"parsed_count": "166"},{"name": "Love","count": 19,"parsed_count": "19"},{"name": "Haha","count": 5,"parsed_count": "5"}]}