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

Gemini CLI · Social Media

How to Use Instagram post comments in Gemini CLI

Returns an Instagram post's comments with text, timestamps, like counts, and reply counts. Use it to identify audience questions and select discussions for a closer look.

Prompts to try with Instagram post comments in Gemini CLI

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

Use Instagram post comments for the public LEGO launch post linked in this project's campaign brief. Add a report grouping the returned comments into product questions, availability questions, and other topics.

Instagram post commentsGemini CLI
Try asking
  • Use Instagram post comments 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 and tell me what changed since last week.

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

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

How to set up Instagram post comments in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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

    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-v3-get-post-comments",
        "input": {
          "code": "DUajw4YkorV"
        }
      }'

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

Instagram post comments providers and prices

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

TikHubSocial Media
Instagram V3 · Get post comments
tikhub/instagram-v3-get-post-comments

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sort orderpopular or newestpopular

Every API field of Instagram V3 · Get post comments is on its tool page: open its card above.

What can you do with Instagram post comments in Gemini CLI?

Build an Instagram campaign research view with traceable content references. A coding agent can turn returned shortcodes, posts, discussions, media, or place details into records your project can use.

Prepare a campaign research brief

Turn campaign links into post references, examine comments and replies, and collect examples from hashtags, Explore, Highlights, and shared audio. For a campaign tied to a venue, add place details, location posts, and nearby content.

Find questions for a product FAQ

Normalize links to a brand's launch posts, group questions from comments, and read replies for context. Compare those questions with the explanations in the brand's saved Highlights.

Review a venue's event coverage

Check the venue's place identity, gather posts attached to that location and the event hashtag, and inspect nearby content for related venues. Use comments, replies, and the organizer's Highlights to assemble questions and content examples for the event team.

Study how brands use an audio

Collect Reels sharing a specific audio, use Explore to find further creative references, and normalize selected post links. Review comments and replies on chosen public brand posts to summarize reactions to the execution.

Maintain an internal campaign evidence index

Organize post shortcodes, hashtag and Explore examples, Highlight references, audio-linked Reels, and discussion summaries by campaign. Add place details, location posts, and nearby content when the campaign includes a physical venue.

Questions about Instagram post comments in Gemini CLI

Can Gemini CLI use Instagram post comments?

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

How much does Instagram post comments cost in Gemini CLI?

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

Do I need a TikHub account to use Instagram post comments in Gemini CLI?

No. Spiral runs Instagram post comments 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 in Gemini CLI?

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

Does Gemini CLI wait while Instagram post comments runs?

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

What Instagram content is outside the data coverage?

TikHub limits its Instagram data offering to public content. Private accounts, direct messages, and non-public insights are outside that coverage.

How fresh is the Instagram data?

TikHub describes the Instagram endpoints used here as real-time and recommends them for up-to-the-minute counts. That is the provider's description of freshness.

Does Instagram Explore represent everything trending on Instagram?

TikHub describes Explore results as personalized recommendations. Treating those results as an Instagram-wide trend ranking would go beyond the documented coverage.

Does TikHub guarantee accurate and complete Instagram data?

TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current. A returned result therefore does not establish complete Instagram coverage.

Does retrieving Instagram content give me permission to republish it?

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Retrieval alone does not establish permission to republish it.

Get started

Start using Instagram post comments in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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