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

OpenClaw · Social Media

How to Use Instagram V1 Convert media ID to shortcode in OpenClaw

Returns conversion status, the original media ID, and the Instagram post shortcode. Use it to turn stored post IDs into Instagram links for reports or review queues.

Prompts to try with Instagram V1 Convert media ID to shortcode in OpenClaw

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

Every morning, use Instagram post shortcode to fill missing links for new @nasa post IDs in my internal research queue.

Instagram V1 Convert media ID to shortcodeOpenClaw
Try asking
  • Each Friday, use Instagram post shortcode for newly added @nasa media IDs in my weekly brief and include the resulting links.

  • Every night, use Instagram post shortcode on @nasa media IDs awaiting conversion in my archive and list any failed conversions.

  • Each Monday, use Instagram post shortcode to compare newly imported @nasa media IDs with the shortcodes already saved in my internal report table.

  • Tomorrow morning, use Instagram post shortcode for NASA media ID 3996242083173720380 and include its shortcode and post link in my editorial handoff.

How to set up Instagram V1 Convert media ID to shortcode in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

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 V1 Convert media ID to shortcode

    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-media-id-to-shortcode",
        "input": {
          "media_id": "3774507992167247878"
        }
      }'

Then paste one of the prompts above: OpenClaw finds Instagram V1 Convert media ID to shortcode on Spiral, shows the price and runs it.

Instagram V1 Convert media ID to shortcode providers and prices

Spiral runs Instagram V1 Convert media ID to shortcode through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V1 · Convert media ID to shortcode
tikhub/instagram-v1-media-id-to-shortcode

What can you do with Instagram V1 Convert media ID to shortcode in OpenClaw?

Keep new public business post records supplied with Instagram links as they enter an internal queue. A scheduled agent can convert newly received IDs and flag conversion failures for review.

Add source links to campaign reports

Convert stored brand post IDs into shortcodes, then add Instagram links beside the corresponding campaign results.

Repair an internal content archive

Fill missing post links in an archive that retained Instagram media IDs but lost the original URLs.

Prepare an editorial review queue

Give editors clickable references for public business posts submitted as numeric media IDs.

Reconcile post references

Convert media IDs to shortcodes before matching an internal campaign export against a spreadsheet of Instagram post links.

Attach citations to research notes

Turn saved public organization post IDs into source links for an internal content research brief.

Check an identifier migration

Compare converted shortcodes with previously saved shortcodes to find discrepancies after moving a post archive between databases.

Questions about Instagram V1 Convert media ID to shortcode in OpenClaw

Can OpenClaw use Instagram V1 Convert media ID to shortcode?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Instagram V1 Convert media ID to shortcode like any built-in tool.

How much does Instagram V1 Convert media ID to shortcode cost in OpenClaw?

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

Do I need a TikHub account to use Instagram V1 Convert media ID to shortcode in OpenClaw?

No. Spiral runs Instagram V1 Convert media ID to shortcode 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 V1 Convert media ID to shortcode in OpenClaw?

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

Does OpenClaw wait while Instagram V1 Convert media ID to shortcode runs?

Instagram V1 Convert media ID to shortcode runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

What does Instagram post shortcode return?

TikHub documents three output values: conversion status, the original media ID, and the converted shortcode. The documented payload covers identifier conversion.

How do I turn the shortcode into an Instagram link?

Insert the returned shortcode into https://www.instagram.com/p/{shortcode}/. TikHub explicitly documents this post URL format.

Does successful conversion mean the post is still available?

No. Deleted Instagram posts can still have convertible media IDs, so a shortcode alone does not confirm current availability.

Why can an Instagram media ID produce the wrong shortcode?

Check whether the ID passed through a JavaScript Number. Instagram's documented example IDs exceed JavaScript's safe integer ceiling of 9,007,199,254,740,991; preserve the original digits as a string.

Can an Instagram shortcode reveal private content?

TikHub's Instagram coverage excludes private accounts, direct messages, and non-public insights. Constructing a post link does not expand that coverage.

Get started

Start using Instagram V1 Convert media ID to shortcode in OpenClaw

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

Paste this into OpenClaw:

Set up OpenClaw

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