# 多小组监控

**Use case:** 

同时监控多个公开群组，每个群组独立隔离、互不干扰，适合批量追踪社群动态。输出稳定 ID、时间戳与照片链接，并整理为结构化 JSON，可通过 API 轻松接入你的系统。一键运行，实时掌握多群内容变化，让舆情与增长分析更高效。

## Input

```json
{
  "groupUrls": [
    "https://www.facebook.com/groups/1564552680458634/"
  ],
  "maxGroupsPerRun": 10,
  "maxPostsPerGroup": 20,
  "sortMode": "CHRONOLOGICAL",
  "expandAllPhotos": true,
  "includeRawPayload": false,
  "knownPostIds": [],
  "paginationMode": "ranked_snapshot",
  "maxCandidates": 0,
  "maxPages": 0,
  "bootstrapRetries": 4,
  "graphqlPageRetries": 2,
  "proxyCountry": "US",
  "mediaSetRetries": 1,
  "mediaSetRetryDelayMs": 800,
  "mediaExpansionConcurrency": 3,
  "mediaExpansionAdaptive": true,
  "mediaDeferredRetry": true,
  "mediaDeferredRetryConcurrency": 2,
  "mediaDeferredRetryExtraRetries": 2,
  "mediaDeferredRetryDelayMs": 1500,
  "debug": false,
  "discoverBundles": false
}
```

## Output

```json
{
  "rank": {
    "label": "Rank",
    "format": "integer"
  },
  "created_at": {
    "label": "Created",
    "format": "string"
  },
  "source_post_id": {
    "label": "Post ID",
    "format": "string"
  },
  "raw_text": {
    "label": "Text",
    "format": "string"
  },
  "text_source": {
    "label": "Text source",
    "format": "string"
  },
  "text_missing_reason": {
    "label": "Text missing reason",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "object"
  },
  "media_preview_count": {
    "label": "Preview photos",
    "format": "integer"
  },
  "media_expanded_count": {
    "label": "Expanded photos",
    "format": "integer"
  },
  "media_plus_n_risk": {
    "label": "+N risk",
    "format": "boolean"
  },
  "media_review_severity": {
    "label": "Media review",
    "format": "string"
  },
  "media_completeness": {
    "label": "Media status",
    "format": "string"
  },
  "media_deferred_retry": {
    "label": "Deferred retry",
    "format": "object"
  },
  "source_url": {
    "label": "Post URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook 公开小组帖子与完整照片集抓取](https://apify.com/spbotdel/facebook-group-posts-cn.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/spbotdel/facebook-group-posts-cn.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/spbotdel/facebook-group-posts-cn.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`).
