# Comments from Viral Facebook Posts Scraper

**Use case:** 

Collect up to 50 comments and replies from viral Facebook posts. Get structured data with post details, reactions, and nested replies for analysis.

## Input

```json
{
  "postUrls": [
    "https://www.facebook.com/Cristiano/posts/pfbid02seJDCEPPoHUmcP2XMQL1aKUijVK2WF9gAJGcNHx2GxpkukG4B6BPW7YxCgGoBx66l"
  ],
  "maxComments": 50,
  "includeReplies": true,
  "replyDepth": "1",
  "maxRepliesPerLevel": 5,
  "commentsSortBy": "most_relevant",
  "commentsDateRange": ""
}
```

## Output

```json
{
  "postUrl": {
    "label": "Post url"
  },
  "postId": {
    "label": "Post id"
  },
  "authorName": {
    "label": "Author name"
  },
  "createdAt": {
    "label": "Created at"
  },
  "text": {
    "label": "Text"
  },
  "commentCount": {
    "label": "Comment count"
  },
  "reactionCount": {
    "label": "Reaction count"
  },
  "shareCount": {
    "label": "Share count"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Comments Scraper](https://apify.com/calm_builder/facebook-comments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/calm_builder/facebook-comments-scraper) to learn more, explore other use cases, and run it yourself.