# Facebook 竞品主页监控：每天只获取新帖子

**Use case:** 

出海品牌竞品监控：定时运行，每次只保存上次运行之后发布的新帖子，包含正文、按类型统计的互动、评论数、分享数和外部链接。可接入飞书、Slack、Google Sheets 或 BI。示例：可口可乐、百事和红牛的 Facebook 主页。

## Input

```json
{
  "pageUrls": [
    {
      "url": "https://www.facebook.com/cocacola"
    },
    {
      "url": "https://www.facebook.com/pepsi"
    },
    {
      "url": "https://www.facebook.com/redbull"
    }
  ],
  "maxPosts": 20,
  "onlyNewPosts": true,
  "includeComments": false,
  "maxCommentsPerPost": 50,
  "includeReplies": true,
  "onlyNewComments": false
}
```

## 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 "Facebook 竞品主页监控：每天只获取新帖子". [Sign up or log in](https://console.apify.com/create-task-from-example/Z1WgOXJl1O9cisKwM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Facebook 竞品主页监控：每天只获取新帖子" 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 "Facebook 竞品主页监控：每天只获取新帖子" 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 "Facebook 竞品主页监控：每天只获取新帖子" task via API](https://apify.com/monkey.d.scraping/facebook-page-posts-scraper.md).

## FAQ

### 第一次运行会保存什么？

每个主页最新的帖子（不超过 Max posts）。之后每次只保存上次运行之后发布的帖子，成本极低。

### 支持哪些主页？

任何公开的 Facebook 主页或公开个人主页：品牌、媒体、机构、创作者。

### 需要Facebook账号或Cookie吗？

不需要。粘贴公开主页链接或名称即可运行，只需要一个Apify账号。

### 费用是多少？

免费版每1,000条帖子0.70美元，Business及以上套餐低至0.55美元。无启动费，平台用量已包含。评论可选，每1,000条0.18至0.14美元。

## 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`).
