# Sentiment Analysis of Facebook Post Comments

**Use case:** 

Extract and analyze sentiments from comments on Facebook posts. Gain insights with structured data on reactions and nested replies.

## Input

```json
{
  "postUrls": [
    "https://www.facebook.com/NASA/posts/pfbid0DWQhrsRQW4ZPWYhT3BRfsPaw3ctV5Bh8UVWDxtwQbujZrriV665Mykc6YNi7uWUrl?rdid=ZxZCulyyhlbqlVj1#"
  ],
  "maxComments": 40,
  "includeReplies": true,
  "replyDepth": "2",
  "maxRepliesPerLevel": 3,
  "commentsSortBy": "newest",
  "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.