Facebook Comments Scraper avatar

Facebook Comments Scraper

Pricing

from $0.25 / 1,000 results

Go to Apify Store
Facebook Comments Scraper

Facebook Comments Scraper

Scrape real-time comments from public Facebook posts including text, timestamps, author info, and engagement metrics. Fresh data fetched directly from Facebook on every run - no caching layer in between. Pass multiple feedbackIds to collect comments from many posts in a single run.

Pricing

from $0.25 / 1,000 results

Rating

0.0

(0)

Developer

AxCrawler

AxCrawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 hours ago

Last modified

Categories

Share

How does Facebook Comments Scraper work?

The Facebook Comments Scraper efficiently extracts real-time comments from Facebook posts. Designed for ease of use, it requires only a few parameters to deliver precise and comprehensive comment data.

Here's how it works:

  1. Input Parameters: Simply provide the Facebook feedbackId along with the maximum number of comments to be scraped to extract relevant comment data efficiently.

  2. Data Extraction: The scraper retrieves comments from Facebook posts and extracts relevant details for each comment, including text content, timestamps, author information, engagement metrics (likes, replies), and other key insights.

  3. Real-Time Output: Unlike preprocessed data, our scraper retrieves up-to-date comments directly from Facebook, ensuring accurate and fresh data every time. There is no caching involved, so every invocation retrieves fresh data.

  4. Download Options: Once the comments are extracted, the data can be downloaded in your preferred format, such as JSON, CSV, Excel, XML, or HTML.

With the Facebook Comments Scraper, you get a user-friendly, reliable tool that delivers fast, accurate, and customizable comment extraction to meet your specific needs.

Input data

Input data must be provided in JSON format and must contain one mandatory array field "input". Each item in the array represents one Facebook post whose comments should be retrieved. Every field listed below is supported:

Actor input fields

ParameterRequiredTypeDescription
inputYesarrayList of inputs, where each entry represents one Facebook post to scrape comments from. Multiple entries can be processed in a single run, each with its own maxComments limit, enabling the scraping of up to millions of comments from different posts.
feedbackIdYesstringFeedback id of the Facebook post. The feedbackId can be obtained from other sources like the Facebook Posts Scraper or the Facebook Post Details Scraper.
maxCommentsNonumberExact number of comments to deliver for this post, counted from the newest comment backwards. The Actor paginates automatically and cuts the result at exactly this number. A minimum of 10 comments is always returned when that many are available, even if a lower value is provided. Defaults to the minimum of 10.

Pagination is handled fully automatically based on maxComments.

Example input

{
"input": [
{
"feedbackId": "ZmVlZGJhY2s6NjM3NTIxOTM0MjU1MjExMg==",
"maxComments": 500
},
{
"feedbackId": "ZmVlZGJhY2s6NjkxNjYxNzIwMTg5NzA4",
"maxComments": 50
}
]
}

Output data

[
{
"statusCode": 200,
"statusMessage": "FOUND",
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BYLvHo4dSq5brtprtSXk32VHkFhfCYgyhQbPGzTDRnx8eaXfCMhniWRE6bF1mDsPl?comment_id=806720163323972",
"feedbackId": "ZmVlZGJhY2s6NjM3NTIxOTM0MjU1MjExMg==",
"subscriptionTargetId": "6375219342552112",
"commentsCount": 2836,
"createdTime": 1629399011,
"nodeId": "Y29tbWVudDo2Mzc1MjE5MzQyNTUyMTEyXzgwNjcyMDE2MzMyMzk3Mg==",
"legacyFbid": "806720163323972",
"postUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BYLvHo4dSq5brtprtSXk32VHkFhfCYgyhQbPGzTDRnx8eaXfCMhniWRE6bF1mDsPl?comment_id=806720163323972",
"reactionCount": 1,
"topReactions": {
"edges": [{
"reaction_count": 5,
"node": {
"key": 1,
"id": "1635855486666999",
"reaction_type": "LIKE",
"face_image": {
"uri": "https://www.facebook.com/reaction/image/1635855486666999/?size=18&scale=2&is_bite=0"
}
}
}]
},
"commentCount": 1,
"profileName": "Francesca Castiglione",
"profileShortName": "Francesca",
"profilePicture": {
"uri": "https://scontent.febb1-2.fna.fbcdn.net/v/t1.6435-1/125845690_10158060397927734_4339460683457689979_n.jpg?stp=cp0_dst-jpg_s64x64_tt6&_nc_cat=105&ccb=1-7&_nc_sid=e99d92&_nc_ohc=FT3sJ5imedsQ7kNvgEnCt1V&_nc_oc=Adk1im_SIWM5fPNSz9OgdbtOK_aZLZD-sv32SudgT23_V9pZ2hR7w7yqms-WGZ3n2Jk&_nc_zt=24&_nc_ht=scontent.febb1-2.fna&_nc_gid=kTNMF9aOXfectbd2hMMAww&oh=00_AYE8Klm2azwHOcpnEMyyPOfznHYGGRF9puTiET-V-0uKwA&oe=68061E92"
},
"profilePictureLegacy": {
"uri": "https://scontent.febb1-2.fna.fbcdn.net/v/t1.6435-1/125845690_10158060397927734_4339460683457689979_n.jpg?stp=cp0_dst-jpg_s40x40_tt6&_nc_cat=105&ccb=1-7&_nc_sid=e99d92&_nc_ohc=FT3sJ5imedsQ7kNvgEnCt1V&_nc_oc=Adk1im_SIWM5fPNSz9OgdbtOK_aZLZD-sv32SudgT23_V9pZ2hR7w7yqms-WGZ3n2Jk&_nc_zt=24&_nc_ht=scontent.febb1-2.fna&_nc_gid=kTNMF9aOXfectbd2hMMAww&oh=00_AYGJFq2JykXBMNmJx2AYhZuWeKYGYFzUxUahb_a91AUvPg&oe=68061E92"
},
"profileUrl": "https://www.facebook.com/francesca.castiglione.39",
"profileId": "pfbid038F1JgGyA5UQayizTQQSZHpUnaX3hQZdfmHJfVbmBPwiyJJkt6CPSGV2L1TpFpnw8l",
"isVerified": false,
"text": "This is such an incredible story of giving, loving, caring, and learning! ",
"threadingDepth": 0
}
]

How much does Facebook Comments Scraper cost?

With our Pay-Per-Result pricing model, the cost is completely transparent and predictable, unlike renting actors where expenses can be hard to forecast. The price per result can be easily obtained at the top of this listing page, giving you full visibility into your costs before you start scraping.

What to consider when using this Actor?

This Actor integrates the full lifecycle of web data extraction ensuring stability and reliability:

  1. Proxy Rotation: We use our own proxy pool including several million proxies in all countries worldwide, avoiding that our scraper can be blocked by Facebook.

  2. Geo Targeting: We determine the correct proxy location for each request, ensuring smooth data retrieval without geo-restriction issues.

  3. Captcha and Blocking Handling: Captchas and temporary blocks are completely handled by this Actor under the hood, ensuring the user always gets the required data.

  4. Stability and Reliability: Designed to handle large scale requests with error handling and retries for consistent and dependable operation.

More Facebook Actors by Axesso

Looking for a different slice of Facebook data? Axesso offers a full suite of real-time Facebook Actors - each one dedicated to a specific endpoint:

ActorWhat it does
Facebook Page Info Scraper V2Scrape real-time information from any public Facebook page, including name, follower and like counts, category, contact details, ...
Facebook Post Details ScraperScrape real-time details for any public Facebook post by URL, including full text content, publish date, image URLs, and engagement ...
Facebook Posts ScraperThe Facebook Posts Scraper retrieves real-time posts from any public Facebook page, including text content, images, timestamps, and ...
Facebook Posts Scraper V2Scrape real-time posts from public Facebook pages by pageId with automatic pagination and date filtering.
Facebook Reels ScraperScrape real-time reels from any public Facebook page, including captions, publish dates, images, video view counts, and engagement ...
Facebook Video Details ScraperScrape real-time details for public Facebook video posts by video ID, including play count, view count, reactions, comments, and media URLs.
Facebook Video Search ScraperSearch Facebook for video posts by keyword, sorting by relevance or most recent.

All Axesso Actors are built and maintained to the same standards: real-time data without caching, high availability and active maintenance, consistent input patterns, and responsive support when you need help. If you are missing a specific endpoint, reach out - the portfolio is continuously growing.

Where else you can find Axesso - Data Service solutions?

Axesso APIs and Actors are available through the Axesso own API Portal and on RapidAPI. Our track record includes thousands of subscribers and stable service for over 5 years.

Use cases for our Axesso Actors

  1. Market Research: Businesses can utilize this Actor to gather social media data, including posts, engagement metrics, and user sentiment. This information helps in understanding market trends, analyzing competitors, and identifying gaps in content strategies.

  2. Brand Monitoring: Companies can track mentions of their brand or products on social media using this Actor. This allows them to respond to customer feedback in real-time, manage their online reputation, and engage with their audience effectively.

  3. Audience Insights: Marketers can analyze social media posts to gain insights into audience preferences, behaviors, and trends. This data can inform content strategies, targeting decisions, and product development.

  4. Content Strategy Development: Brands with active social media presence can use this Actor to monitor trending topics, popular posts, and user-generated content. This helps in crafting relevant and engaging content that resonates with their audience.

  5. Sentiment Analysis: Companies can analyze user comments and reactions on social media to gauge public sentiment about their brand, products, or industry. By identifying common themes, brands can adapt their messaging and improve customer satisfaction.

  6. Lead Generation: Businesses can leverage this Actor to identify potential influencers, partners, or customers by scraping social media for contact information and engagement metrics. This data can be used for targeted outreach and business development efforts.

  7. Content Aggregation and Curation: Content creators, bloggers, and publishers can use this Actor to aggregate social media posts, images, and user feedback to create curated content such as articles, reviews, or social media roundups.

  8. Competitive Analysis: Social media marketers can use this Actor to analyze competitors' posts, engagement strategies, and audience interactions. This data can inform their own social media strategies and help them stay competitive.

  9. Ad Campaign Optimization: Advertisers can gather insights from social media data using this Actor to identify trending topics, popular posts, and effective engagement strategies. This information can be used to optimize ad campaigns and improve overall performance.

Disclaimer

This Actor is not affiliated or partnered with the vendors used in the Actor; only publicly available data is extracted. Users are responsible for ensuring that their use of the Actor and the returned data complies with applicable laws and the requirements of their individual use case.