# Compare Facebook Comments Across Public Posts

**Use case:** 

Compare visible public comments from multiple Facebook post URLs in one run with post context, author names, comment text, and extraction diagnostics.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
    },
    {
      "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0tpbAbjJiWV4otqtTkJg94rfM6MceLwQDAyHc2nphpF57nJz72sja8PU9DXQTk6iYl"
    }
  ],
  "maxCommentsPerPost": 20
}
```

## Output

```json
{
  "commentId": {
    "label": "Comment ID",
    "format": "string"
  },
  "sourcePostUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "postTitle": {
    "label": "Post title",
    "format": "string"
  },
  "authorName": {
    "label": "Author",
    "format": "string"
  },
  "authorUrl": {
    "label": "Author URL",
    "format": "string"
  },
  "commentText": {
    "label": "Comment",
    "format": "string"
  },
  "relativeDate": {
    "label": "Relative date",
    "format": "string"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "replyDiagnostics": {
    "label": "Reply diagnostics",
    "format": "string"
  },
  "commentPermalink": {
    "label": "Comment permalink",
    "format": "string"
  },
  "rawText": {
    "label": "Raw visible text",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

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