[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Facebook page reels](https://spiral.ai/integrations/codex/facebook-page-reels)

# How to Use Facebook page reels in Codex

Fetch up to 10 reels from a public Facebook page, including captions, publication times, view badges, duration, music, and media links. Use it to review a brand's videos or compare publishing patterns; view badges may be rounded.

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

## Prompts to try with Facebook page reels in Codex

- Use Facebook page reels for https://www.facebook.com/NASA and add a report to this project showing each returned reel's caption, publication time, duration in seconds, and source link.
- Use Facebook page reels for https://www.facebook.com/nike and https://www.facebook.com/adidas. Build a comparison table in this project showing publication dates, durations, and approximate view badges for the retrieved reels.
- Use Facebook page reels for https://www.facebook.com/LEGO and add a caption search to this project that finds product names and hashtags while preserving each reel's source URL.
- Use Facebook page reels for https://www.facebook.com/NASA to build a collector in this project. Follow pagination for up to 30 unique reels and store post IDs, captions, publication times, durations, and reported views.
- Use Facebook page reels for https://www.facebook.com/RedBull and create a report in this project grouping retrieved reels by music title, with duration and approximate views beside each source link.

## How to set up Facebook page reels in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

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

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 page reels**: 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-profile-reels",
    "input": {
      "url": "https://www.facebook.com/pacemorby"
    }
  }'
```

Then paste one of the prompts above: Codex finds Facebook page reels on Spiral, shows the price and runs it.

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

## Facebook page reels tools and prices

- [Facebook · Profile Reels](https://spiral.ai/tools/scrapecreators/scrapecreators/facebook-profile-reels) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | To paginate through to the next page |
| next_page_id |  | — | To paginate through to the next page |

## What can you do with Facebook page reels in Codex?

Build a brand reel report in your project using Facebook captions, publication times, durations, and source links. Add pagination and label view comparisons as approximate because Facebook's badges may be rounded.

### Compare brand publishing patterns

Compare publication times and reel durations across public brand pages to see how often they publish and which video lengths they use.

### Review campaign captions

Find campaign names, product mentions, and hashtags in returned descriptions, then build a linked list of relevant reels for editorial review.

### Find reels with high reported views

Rank a page's retrieved reels by their reported view badges and compare captions and durations. Keep the ranking labeled as approximate because badges may be rounded.

### Create a reel reference library

Organize reel URLs, captions, publication times, thumbnails, and music details into a searchable reference for a brand's content team.

### Detect new brand videos

Compare returned post IDs with earlier observations and prepare a digest of newly discovered reels, including captions and source links.

### Audit audio choices

Group a public page's retrieved reels by music title to review repeated audio choices alongside video duration and approximate views.

### Measure observed view growth

Compare reported view badges for the same reel across repeated checks. Describe the changes as badge growth, since rounding limits the precision of small differences.

## Overview

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

## Facebook page reels in other agents

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

## More Codex guides

- [Facebook page posts](https://spiral.ai/integrations/codex/facebook-page-posts)
- [Facebook post comments](https://spiral.ai/integrations/codex/facebook-post-comments)
- [Facebook page events](https://spiral.ai/integrations/codex/facebook-page-events)
- [Facebook video and post details](https://spiral.ai/integrations/codex/facebook-video-and-post-details)
- [Facebook group posts](https://spiral.ai/integrations/codex/facebook-group-posts)
- [Facebook video search](https://spiral.ai/integrations/codex/facebook-video-search)

## Questions about Facebook page reels in Codex

**Can Codex use Facebook page reels?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Facebook page reels like any built-in tool.

**How much does Facebook page reels cost in Codex?**

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

**Do I need a ScrapeCreators account to use Facebook page reels in Codex?**

No. Spiral runs Facebook page reels 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 page reels in Codex?**

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

**Does Codex wait while Facebook page reels runs?**

Facebook page reels runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**What Facebook content does this endpoint cover?**

It retrieves reels from a public Facebook page. The returned records include captions, publication times, media links, music, and author details.

**How many reels can I retrieve per request?**

Each request returns up to 10 reels. A single response should not be treated as the page's complete reel collection.

**How do I retrieve additional reels?**

Continue with both pagination values returned by the previous response: next_page_id and cursor. Keeping only one does not follow the documented pagination method.

**Are the view counts exact?**

The endpoint returns Facebook's reel badge count, which may be rounded. Use it for approximate comparisons rather than exact view totals.

**How fresh is the reel data?**

ScrapeCreators describes this endpoint as retrieving data in real time. That is the provider's stated freshness behavior, rather than a published daily or weekly update schedule.

