[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Facebook group posts](https://spiral.ai/integrations/opencode/facebook-group-posts)

# How to Use Facebook group posts in opencode

Fetch public Facebook group posts with text, links, publication times, reaction and comment counts, and preview comments. Use it to find recurring product questions or summarize discussions from a specific group feed.

|  |  |
| --- | --- |
| Model | Facebook group posts |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Facebook group posts in opencode

- Use Facebook group posts for https://www.facebook.com/groups/javascript.developers/ to collect up to 30 posts. Add a report to this project showing questions about React, with post links and publication times.
- Use Facebook group posts for https://www.facebook.com/groups/javascript.developers/ to collect up to 20 posts. Build a table in this project with post text, reaction counts, comment counts, and source links.
- Use Facebook group posts for https://www.facebook.com/groups/javascript.developers/ to inspect up to 30 posts mentioning TypeScript. Compare the questions you find with this project's documentation and propose specific additions.
- Use Facebook group posts for https://www.facebook.com/groups/javascript.developers/ to collect up to 24 posts. Create a report in this project comparing React and Vue mentions, with examples from the returned text.
- Use Facebook group posts for https://www.facebook.com/groups/javascript.developers/ to fetch up to 15 posts. Add an example dataset to this project containing post IDs, text, publication times, and links, excluding author details.

## How to set up Facebook group posts in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Facebook group posts**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "scrapecreators",
    "model": "scrapecreators/facebook-group-posts",
    "input": {
      "url": "https://www.facebook.com/groups/1270525996445602/"
    }
  }'
```

Then paste one of the prompts above: opencode finds Facebook group posts on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Facebook group posts tools and prices

- [Facebook · Facebook Group Posts](https://spiral.ai/tools/scrapecreators/scrapecreators/facebook-group-posts) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | The URL of the group |
| cursor |  | — | The cursor to paginate to the next page |
| sort_by | TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, CHRONOLOGICAL_LISTINGS | — | How to sort the posts. Defaults to CHRONOLOGICAL. |
| group_id |  | — | The ID of the group |

## What can you do with Facebook group posts in opencode?

Build a product feedback report from public Facebook group posts, with source links and engagement counts. A coding agent can add collection and analysis to your project using post IDs, text, and publication times.

### Product feedback review

Find product names in collected public group posts and organize the matching text into bugs, requests, and praise, with source links.

### Support article planning

Turn recurring technical questions in a sampled group feed into a ranked list of support articles to write.

### Community discussion digest

Summarize collected posts by topic and attach publication times and links so readers can inspect the discussions.

### Developer tool comparisons

Compare the benefits and complaints expressed about React, Vue, or other tools within the collected post text.

### Brand mention review

Collect public posts mentioning a business or product and separate support issues from recommendations and announcements.

### Engagement report

Rank sampled posts by reaction and comment counts to identify discussions worth reviewing.

### Tutorial topic research

Use repeated questions and terminology from public posts to choose tutorial subjects and practical examples.

### Commercial spam review

Flag repetitive promotional text in collected posts for a moderator to inspect, keeping the analysis focused on content.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Facebook group posts in other agents

- [Amp](https://spiral.ai/integrations/amp/facebook-group-posts)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/facebook-group-posts)
- [Claude](https://spiral.ai/integrations/claude-desktop/facebook-group-posts)
- [Claude Code](https://spiral.ai/integrations/claude-code/facebook-group-posts)
- [Cline](https://spiral.ai/integrations/cline/facebook-group-posts)
- [Codex](https://spiral.ai/integrations/codex/facebook-group-posts)
- [Cursor](https://spiral.ai/integrations/cursor/facebook-group-posts)
- [Devin](https://spiral.ai/integrations/devin/facebook-group-posts)
- [dots](https://spiral.ai/integrations/dots/facebook-group-posts)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/facebook-group-posts)
- [Gemini](https://spiral.ai/integrations/gemini/facebook-group-posts)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/facebook-group-posts)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/facebook-group-posts)
- [goose](https://spiral.ai/integrations/goose/facebook-group-posts)
- [Grok](https://spiral.ai/integrations/grok/facebook-group-posts)
- [Grok Build](https://spiral.ai/integrations/grok-build/facebook-group-posts)
- [Hermes](https://spiral.ai/integrations/hermes/facebook-group-posts)
- [Instinct](https://spiral.ai/integrations/instinct/facebook-group-posts)
- [Manus](https://spiral.ai/integrations/manus/facebook-group-posts)
- [Muse](https://spiral.ai/integrations/muse/facebook-group-posts)
- [Muse Code](https://spiral.ai/integrations/muse-code/facebook-group-posts)
- [n8n](https://spiral.ai/integrations/n8n/facebook-group-posts)
- [Notion](https://spiral.ai/integrations/notion/facebook-group-posts)
- [OpenClaw](https://spiral.ai/integrations/openclaw/facebook-group-posts)
- [Perplexity](https://spiral.ai/integrations/perplexity/facebook-group-posts)
- [Raycast](https://spiral.ai/integrations/raycast/facebook-group-posts)
- [VS Code](https://spiral.ai/integrations/vscode/facebook-group-posts)
- [Windsurf](https://spiral.ai/integrations/windsurf/facebook-group-posts)
- [Zapier](https://spiral.ai/integrations/zapier/facebook-group-posts)

## More opencode guides

- [Facebook group details](https://spiral.ai/integrations/opencode/facebook-group-details)
- [Facebook page events](https://spiral.ai/integrations/opencode/facebook-page-events)
- [Facebook event search](https://spiral.ai/integrations/opencode/facebook-event-search)
- [Facebook page posts](https://spiral.ai/integrations/opencode/facebook-page-posts)
- [Facebook event details](https://spiral.ai/integrations/opencode/facebook-event-details)
- [Facebook page reels](https://spiral.ai/integrations/opencode/facebook-page-reels)

## Questions about Facebook group posts in opencode

**Can opencode use Facebook group posts?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Facebook group posts like any built-in tool.

**How much does Facebook group posts cost in opencode?**

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a ScrapeCreators account to use Facebook group posts in opencode?**

No. Spiral runs Facebook group posts on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Facebook group posts in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Facebook group posts runs?**

Facebook group posts runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which Facebook groups does this cover?**

The documented coverage is public Facebook group feeds. Results can also identify the original post behind a share when Facebook exposes that reference.

**How many posts come back per page?**

The reference says three posts per page, but the provider's August 19, 2026 test returned four on its first page. Read the returned array and follow pagination instead of assuming an exact count.

**Does each post include its full comment thread?**

No. The attached comments are previews, so a post's total comment count can exceed the comments returned with it.

**Are the results collected live?**

ScrapeCreators says cache misses fetch live public data from Facebook. Supported endpoints can also serve an earlier cached response, so a response does not always represent a new collection.

**Can I identify disclosed sponsored posts?**

The response can include Facebook's paid-partnership disclosure status. Unknown status is null; an absent disclosure does not prove a post is unsponsored.

