# Compare Facebook pages from a scraper export — example

**Use case:** 

Four pages compared from a demo export: coverage stated, one duplicate removed before counting, absent fields shown honestly — plus a full HTML report.

## Input

```json
{
  "items": [
    {
      "pageName": "Helen's Fresh Market",
      "facebookUrl": "https://www.facebook.com/helensfreshmarket",
      "url": "https://www.facebook.com/helensfreshmarket/posts/201",
      "text": "Fresh catch this morning",
      "likes": 120,
      "comments": 14,
      "shares": 9,
      "time": "2026-07-01T09:00:00.000Z"
    },
    {
      "pageName": "Helen's Fresh Market",
      "facebookUrl": "https://m.facebook.com/HelensFreshMarket/",
      "url": "https://www.facebook.com/helensfreshmarket/posts/202",
      "text": "Weekend dockside prices",
      "likes": 95,
      "comments": 8,
      "shares": 5,
      "time": "2026-07-03T10:00:00.000Z"
    },
    {
      "pageName": "Helen's Fresh Market",
      "facebookUrl": "https://www.facebook.com/helensfreshmarket",
      "url": "https://www.facebook.com/helensfreshmarket/posts/203",
      "text": "Closed Sunday",
      "likes": 40,
      "comments": 3,
      "shares": 1,
      "time": "2026-07-05T08:00:00.000Z"
    },
    {
      "pageName": "Caladan Bay Tours",
      "facebookUrl": "https://www.facebook.com/caladanbaytours/",
      "url": "https://www.facebook.com/caladanbaytours/posts/301",
      "text": "Green flash at sunset",
      "likes": 210,
      "comments": 25,
      "shares": 18,
      "time": "2026-07-02T18:00:00.000Z"
    },
    {
      "pageName": "Caladan Bay Tours",
      "facebookUrl": "https://www.facebook.com/caladanbaytours/",
      "url": "https://m.facebook.com/caladanbaytours/posts/301?ref=share",
      "text": "Green flash at sunset",
      "likes": 211,
      "comments": 25,
      "shares": 18,
      "time": "2026-07-02T18:00:00.000Z"
    },
    {
      "pageName": "Caladan Bay Tours",
      "facebookUrl": "https://www.facebook.com/caladanbaytours/",
      "url": "https://www.facebook.com/caladanbaytours/posts/302",
      "text": "Morning charter openings",
      "likes": 88,
      "comments": 6,
      "shares": 4,
      "time": "2026-07-06T07:30:00.000Z"
    },
    {
      "pageName": "Windward Fitness",
      "facebookUrl": "https://www.facebook.com/windwardfitness",
      "url": "https://www.facebook.com/windwardfitness/posts/401",
      "text": "New class schedule is up",
      "likes": 33,
      "comments": 2,
      "time": "2026-07-06T08:00:00.000Z"
    }
  ]
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "pages_compared": {
    "label": "Pages",
    "format": "number"
  },
  "unique_posts": {
    "label": "Unique posts",
    "format": "number"
  },
  "duplicates_removed": {
    "label": "Duplicates removed",
    "format": "number"
  },
  "charged_posts": {
    "label": "Posts charged",
    "format": "number"
  },
  "window": {
    "label": "Data window",
    "format": "text"
  },
  "dateless_posts": {
    "label": "Dateless posts"
  },
  "input_format": {
    "label": "Input format"
  },
  "coverage_notes": {
    "label": "Coverage notes"
  },
  "report_url": {
    "label": "HTML report",
    "format": "link"
  },
  "unresolved_rows": {
    "label": "Unresolved rows"
  },
  "rows_in": {
    "label": "Rows in"
  }
}
```

## About this Actor

This example demonstrates how to use [Mentat Page Compare](https://apify.com/mentat-logic/mentat-page-compare) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mentat-logic/mentat-page-compare) to learn more, explore other use cases, and run it yourself.