[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Facebook video and post details](https://spiral.ai/integrations/opencode/facebook-video-and-post-details)

# How to Use Facebook video and post details in opencode

Fetch a public Facebook post or Reel with available video, caption, author, and engagement details. Use it to inspect a known video URL, summarize its content, or compare its public performance.

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

## Prompts to try with Facebook video and post details in opencode

- Use Facebook video and post details for https://www.facebook.com/reel/1535656380759655 and add its returned description, thumbnail, and duration to the project's video review screen.
- Use Facebook video and post details for https://www.facebook.com/reel/1535656380759655 and create a JSON fixture from the real response for our post detail component.
- Use Facebook video and post details for https://www.facebook.com/reel/1535656380759655 and map the returned reaction, comment, share, and view counts into our analytics model without replacing null values with zero.
- Use Facebook video and post details for https://www.facebook.com/reel/1535656380759655 and add the available standard-definition and high-definition video links to our review component.
- Use Facebook video and post details for https://www.facebook.com/reel/1535656380759655, request a transcript, and build a content summary from the returned description and transcript in our existing report format.

## How to set up Facebook video and post details 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 video and post details**: 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-post",
    "input": {
      "url": "https://www.facebook.com/reel/1535656380759655"
    }
  }'
```

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

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

## Facebook video and post details tools and prices

- [Facebook video download](https://spiral.ai/tools/scrapecreators/scrapecreators/facebook-post) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cache_max_age | 1d, 3d, 7d, 14d, 30d | — | Return ScrapeCreators' cached answer when it is at most this old (0 credits, with `cached: true` and `cached_at`). |
| get_transcript |  | — | Also transcribe the video (`transcript` in the post). A transcript of up to 120 seconds is included in the post's credit. |

## What can you do with Facebook video and post details in opencode?

Build a review screen that pairs public Facebook videos with their descriptions, thumbnails, durations, and engagement counts. A coding agent can map the returned details into your project's data model and handle Reel counts that are missing or below the profile badge.

### Turn a creator video into a research brief

Combine a public creator's post description with any returned transcript to summarize the topic, main instructions, and unanswered questions.

### Compare campaign posts

Fetch known public campaign URLs and compare their descriptions, publication times, durations, and available reaction, comment, and share counts.

### Measure engagement changes

Revisit selected public business videos and calculate changes in returned engagement counts between observations. Keep individual-post view counts separate from profile badge counts.

### Build a video review queue

Collect available video links, thumbnails, durations, and source URLs for an editorial team reviewing public brand or creator content.

### Check short-video transcript coverage

For selected public videos, compare the returned duration with the 120-second default AI limit and identify which responses contain text suitable for summarization.

### Trace references in shared business posts

Use available shared-post references to connect a public business post to the post it shares, preserving each post's separate identity.

## Overview

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

## Facebook video and post details in other agents

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

## More opencode guides

- [Facebook post comments](https://spiral.ai/integrations/opencode/facebook-post-comments)
- [Facebook video search](https://spiral.ai/integrations/opencode/facebook-video-search)
- [Facebook page reels](https://spiral.ai/integrations/opencode/facebook-page-reels)
- [Facebook video transcript](https://spiral.ai/integrations/opencode/facebook-video-transcript)
- [Facebook page posts](https://spiral.ai/integrations/opencode/facebook-page-posts)
- [Google Ad Library Company Ads](https://spiral.ai/integrations/opencode/google-ad-library-company-ads)

## Questions about Facebook video and post details in opencode

**Can opencode use Facebook video and post details?**

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

**How much does Facebook video and post details 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 video and post details in opencode?**

No. Spiral runs Facebook video and post details 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 video and post details in opencode?**

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

**Does opencode wait while Facebook video and post details runs?**

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

**Does this fetch a Facebook Page's entire video history?**

It fetches one public post or Reel from its individual URL per request. The response can include the video's available download URLs, thumbnail, duration, post description, author, and engagement counts.

**How fresh are the Facebook details?**

A live scrape retrieves from Facebook, while a cached response reflects an earlier scrape. Counts, comments, media fields, and URLs can change between retrievals.

**Why can a Reel's view count differ from Facebook's badge?**

Facebook can expose different counts on the individual Reel and the profile grid. The provider explicitly warns that the returned Reel count may be null or below the badge.

**Can every Facebook video have an AI transcript?**

The default AI transcription limit is 120 seconds. A longer video is not AI-transcribed by default, so transcript-based summaries depend on whether text is returned.

**Can the response identify the original behind a shared post?**

It can identify the post being shared when Facebook exposes that reference. The reference is null when unavailable, so it is not a complete record of every sharing relationship.

