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

Codex · Social Media

How to Use Instagram post comments with reply previews in Codex

Fetch paginated Instagram comments with text, timestamps, likes, and reply previews. Use it to summarize questions and reactions beneath a public brand post, with more discussion detail than a post lookup.

Prompts to try with Instagram post comments with reply previews in Codex

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

Use Instagram post comments with reply previews for a public @nasa post identified from its profile results, then build a question summary that handles pagination and labels reply previews.

Instagram post comments with reply previewsCodex
Try asking
  • Use Instagram post comments with reply previews to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Instagram post comments with reply previews and tell me what changed since last week.

  • Check Instagram post comments with reply previews and summarize what you find in three bullet points.

  • Pull the newest data from Instagram post comments with reply previews and give me the result as a table.

How to set up Instagram post comments with reply previews in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    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.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Instagram post comments with reply previews

    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": "tikhub",
        "model": "tikhub/instagram-v1-fetch-post-comments-v2",
        "input": {
          "media_id": "3766120364183949816"
        }
      }'

Then paste one of the prompts above: Codex finds Instagram post comments with reply previews on Spiral, shows the price and runs it.

Instagram post comments with reply previews providers and prices

Spiral runs Instagram post comments with reply previews through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V1 · Get post comments V2
tikhub/instagram-v1-fetch-post-comments-v2

What can you do with Instagram post comments with reply previews in Codex?

Build an internal Instagram research view with public account context, selected posts, and discussion summaries. A coding agent can connect the returned profile, search, Explore, and comment data to the project's existing records.

Prepare a competitor research brief

Find public brands through search and related-account recommendations. Compare their profiles, inspect selected post links and comment themes, and use Explore sections to add category context.

Research public creator partnerships

Discover public creators through search, recommendations, and Explore posts. Review profile information and selected posts, then summarize discussion topics beneath those posts to support a partnership shortlist.

Build an editorial research board

Collect public accounts, hashtags, places, and Explore posts around a topic. Add profile context, selected post details, and recurring comment questions to help an editor choose subjects to cover.

Research a product category before launch

Find established brands and relevant public creators, review their profile positioning, and inspect example product posts. Combine comment questions with search and Explore results to identify subjects a launch brief should address.

Summarize questions beneath a brand post

Inspect a selected public post and collect its comment pages. Group recurring questions and reactions, keeping reply previews separate from a claim to have collected every reply.

Questions about Instagram post comments with reply previews in Codex

Can Codex use Instagram post comments with reply previews?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Instagram post comments with reply previews like any built-in tool.

How much does Instagram post comments with reply previews cost in Codex?

$0.0013 per request. 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 TikHub account to use Instagram post comments with reply previews in Codex?

No. Spiral runs Instagram post comments with reply previews on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up Instagram post comments with reply previews in Codex?

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

Does Codex wait while Instagram post comments with reply previews runs?

Instagram post comments with reply previews runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Can this retrieve private Instagram content?

TikHub limits access to publicly available content. Its privacy policy explicitly excludes private, restricted, and password-protected content.

How fresh are Instagram counts?

TikHub says visitor-view counts can take a few days to reflect live values. These Instagram endpoints use its visitor-view series, so follower, like, and comment totals should not be described as live measurements.

What request limit does TikHub publish?

TikHub publishes a default limit of 10 requests per second for its Instagram API. That is a provider limit, not a promise about how many records a response contains.

What uses does TikHub's standard license cover?

TikHub's terms license the service for lawful internal business purposes. A product that redistributes Instagram data needs a separate assessment of those terms and the rights in the content.

Does access include permission to republish Instagram content?

TikHub's terms say retrieved content may carry third-party intellectual property rights. API access alone does not establish permission to republish a creator's photos, videos, or text.

Get started

Start using Instagram post comments with reply previews in Codex

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

Paste this into Codex:

Set up Codex

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