# Facebook Comment Sentiment Analysis Dataset Builder

**Use case:** 

Build a sentiment-ready Facebook comments dataset: text plus the full per-reaction signal (love, anger, sad, haha) for every comment. Drop into NLP models.

## Input

```json
{
  "postUrls": [
    "https://www.facebook.com/reel/753347914167361"
  ],
  "maxComments": 1000,
  "fetchReplies": false,
  "maxRepliesPerComment": 50,
  "excludeAuthorGender": true
}
```

## Output

```json
{
  "comment.text": {
    "label": "Comment",
    "format": "string"
  },
  "comment.author.name": {
    "label": "Author",
    "format": "string"
  },
  "comment.reaction_count": {
    "label": "Reactions",
    "format": "integer"
  },
  "comment.reply_count": {
    "label": "Replies",
    "format": "integer"
  },
  "comment.created_at": {
    "label": "Created at",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "parentCommentId": {
    "label": "Parent comment ID",
    "format": "string"
  },
  "comment.id": {
    "label": "Comment ID",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Comment Scraper - Posts & Reels [NO COOKIES] ✅](https://apify.com/unseenuser/fb-comments) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/fb-comments) to learn more, explore other use cases, and run it yourself.