# New comments monitor: community management and alerts

**Use case:** 

For community managers, customer care and PR: run it every hour on your own pages or on competitors and get only the comments and replies written since the last run on the latest posts, with author, text, time and reactions. Pipe them to Slack, a CRM or a sheet to answer fast. Example: the Lavazza page, latest 10 posts.

## Input

```json
{
  "pageUrls": [
    {
      "url": "https://www.facebook.com/Lavazza"
    }
  ],
  "maxPosts": 10,
  "onlyNewPosts": true,
  "includeComments": true,
  "maxCommentsPerPost": 0,
  "includeReplies": true,
  "onlyNewComments": true
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "createdAt": {
    "label": "Published",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "reactions": {
    "label": "Reactions",
    "format": "integer"
  },
  "comments": {
    "label": "Comments",
    "format": "integer"
  },
  "shares": {
    "label": "Shares",
    "format": "integer"
  },
  "url": {
    "label": "Link",
    "format": "string"
  },
  "pageName": {
    "label": "Page",
    "format": "string"
  },
  "reactionsByType": {
    "label": "Reactions by type",
    "format": "object"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "links": {
    "label": "Links",
    "format": "array"
  },
  "imageUrls": {
    "label": "Image urls",
    "format": "array"
  },
  "engagementRate": {
    "label": "Engagement %",
    "format": "number"
  },
  "postId": {
    "label": "Post id",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Facebook Page Posts Scraper & Monitor | $0.55/1K + Comments Actor is ready to run with the inputs already set for "New comments monitor: community management and alerts". [Sign up or log in](https://console.apify.com/create-task-from-example/xGGXISqXbdHzfLtI2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "New comments monitor: community management and alerts" task

The Facebook Page Posts Scraper & Monitor | $0.55/1K + Comments Actor will start running based on the input automatically. You can also change all the input fields, like facebook pages, max posts per page, and more, to match your specific use case.

### 3. Receive the "New comments monitor: community management and alerts" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, published, text, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "New comments monitor: community management and alerts" task via API](https://apify.com/monkey.d.scraping/facebook-page-posts-scraper.md).

## FAQ

### Which posts are checked?

The newest posts of the page up to Max posts per page, including posts saved in earlier runs. New posts are saved too, with their comments.

### How much does a monitor cost?

You pay only the new posts and comments each run saves; a run with nothing new ends in seconds and costs nothing in results.

### Do I need a Facebook account or cookies?

No. Paste public page links or names and run. You only need an Apify account.

### How much does this cost?

$0.70 per 1,000 posts on the Free plan, down to $0.55 on Business and higher plans. No start fee, platform usage included. Comments, when enabled, cost $0.18 to $0.14 per 1,000.

## About this Actor

This example demonstrates how to use [Facebook Page Posts Scraper & Monitor | $0.55/1K + Comments](https://apify.com/monkey.d.scraping/facebook-page-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/monkey.d.scraping/facebook-page-posts-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/monkey.d.scraping/facebook-page-posts-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
