Spiral gives your agent every tool with one account. Browse the tools →

opencode · Social Media

How to Use Facebook post comments in opencode

Fetch public comments on a Facebook post or reel, including text, timestamps, reaction counts, reply counts, and available media attachments. Use it to find recurring questions or compare audience feedback; reply threads require separate requests.

Prompts to try with Facebook post comments in opencode

Copy an example into opencode, or ask in your own words.

Use Facebook post comments on https://www.facebook.com/reel/753347914167361 and add a CSV export to this project with comment text, creation time, reaction count, and reply count.

Facebook post commentsopencode
Try asking
  • Use Facebook post comments on https://www.facebook.com/reel/753347914167361 to build a review table in this project. Group cooking questions by topic and show the retrieved comment count behind each topic.

  • Use Facebook post comments on https://www.facebook.com/reel/753347914167361 to implement cursor pagination in this project. Keep the selected view consistent and deduplicate results by comment ID.

  • Use Facebook post comments on https://www.facebook.com/reel/753347914167361 to create a reaction-count chart from real results. Label it as a chart of retrieved parent comments.

  • Use Facebook post comments on https://www.facebook.com/reel/753347914167361 and add an attachment review column to this project's table. Display available media links and distinguish text-only comments.

How to set up Facebook post comments 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Facebook post comments

    One request; the result comes back by polling or a webhook.

    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-comments",
        "input": {
          "url": "https://www.facebook.com/reel/753347914167361"
        }
      }'

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

Facebook post comments providers and prices

Spiral runs Facebook post comments through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Facebook · Comments
scrapecreators/facebook-post-comments

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortmost_relevant or allmost_relevant

Defaults to most_relevant, which can filter comments. Set sort=all to request Facebook's unfiltered view; this does not guarantee every counted comment is available.

Every API field of Facebook · Comments is on its tool page: open its card above.

What can you do with Facebook post comments in opencode?

Build a review table that turns public Facebook comment text, timestamps, and engagement counts into a product question backlog. A coding agent can add pagination, comment ID deduplication, and separate counts for collected parents and outstanding reply threads.

Build a product question backlog

Group questions beneath a public product announcement into topics such as compatibility, availability, and usage. Give the product team counts and short supporting excerpts from the retrieved comments.

Prepare a customer support brief

Find repeated complaints in comments on a brand's public post. Summarize the reported problems and draft response guidance for a human support team.

Compare campaign feedback

Compare comment themes across selected public campaign posts. Report the number of retrieved comments behind each theme and keep collection coverage visible.

Plan creator follow-up content

Turn questions beneath a creator's public reel into ideas for follow-up videos. Rank topics by their frequency in the collected comments and include representative wording.

Review event announcement confusion

Read comments beneath a public event announcement for recurring questions about dates, locations, accessibility, or attendance. Use the findings to propose clearer announcement copy.

Monitor a selected public discussion

Revisit a known post on a schedule and compare retrieved comment IDs with earlier results. Report newly observed questions without claiming that every new Facebook comment was captured.

Create a comment review dataset

Export comment text, creation times, reaction counts, and reply counts for classification or editorial review. Keep parent comments distinct from replies that require separate collection.

Facebook post comments success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
6.5s
Runs, last 24 hours
20
ToolSuccessMedian timeRuns
Facebook · Comments100.0%6.5s20

Questions about Facebook post comments in opencode

Can opencode use Facebook post comments?

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

How much does Facebook post comments 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 post comments in opencode?

No. Spiral runs Facebook post comments 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 post comments in opencode?

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

Does opencode wait while Facebook post comments runs?

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

Which Facebook comments are covered?

The endpoint covers publicly exposed comments on posts and reels. Private posts, closed groups, audience-restricted content, and login-only comments are outside its coverage.

How many comments does one request return?

The provider's November 14, 2026 test returned 10 parent comments on each of two pages. Treat that as an observed page size; use pagination to request additional results.

Will the results match Facebook's displayed comment total?

Facebook's Most relevant view can filter comments, and even its All comments view does not guarantee every counted comment is accessible. A completed pagination run therefore need not match the displayed total.

Does a reply count mean the reply text is included?

No. Parent comments include reply counts, but reply threads require the separate comment-replies endpoint; unfiltered replies need fresh tokens from parents collected using the All comments view.

Are image, GIF, and video comments included?

Responses can include those attachments when Facebook exposes them, along with available media URLs and dimensions. The media URLs can expire.

Get started

Start using Facebook post comments in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options