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

opencode · Social Media

How to Use TikTok video share link in opencode

Generates a share link that opens a specified video's detail page in TikTok. Use it to put the original post within reach during campaign reviews or editorial checks; the documented output is a link, not video statistics.

Prompts to try with TikTok video share link in opencode

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

Use TikTok video share link for @duolingo video 7514320905909194030 and save the returned link in our campaign review fixture.

TikTok video share linkopencode
Try asking
  • Use TikTok video share link for @duolingo video 7514320905909194030, then add an Open in TikTok action to our existing video review component.

  • Use TikTok video share link for @duolingo video 7514320905909194030 and add the returned link to the creative references page in this project.

  • Use TikTok video share link for @duolingo video 7514320905909194030 and update our review reminder template to include the returned link.

  • Use TikTok video share link for @duolingo video 7514320905909194030 and store the actual response as a development fixture for our link display.

How to set up TikTok video share link 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 TikTok video share link

    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/tiktok-app-v3-open-tiktok-app-to-video-detail",
        "input": {
          "aweme_id": "7440436579409153311"
        }
      }'

Then paste one of the prompts above: opencode finds TikTok video share link on Spiral, shows the price and runs it.

TikTok video share link providers and prices

Spiral runs TikTok video share link through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media

What can you do with TikTok video share link in opencode?

Add an Open in TikTok action beside a known brand video in your review app. A coding agent can retrieve the share link and connect it to the project's existing review interface.

Campaign review references

Add links for known brand posts to a campaign review so reviewers can open each original video in TikTok.

Editorial source checks

Attach a link to the original public TikTok post beside a draft's reference to it, giving an editor a direct place to check the source.

Creative reference lists

Turn an existing selection of public business and creator videos into links for a creative review session.

Published-post handoffs

Include a link to a known published brand video in the handoff from the publishing team to the people reviewing it.

Mobile review buttons

Use the returned link for an Open in TikTok button beside a known video in an internal content review app.

Scheduled review reminders

Include the original post's link in recurring reminders to review a selected public campaign video.

Questions about TikTok video share link in opencode

Can opencode use TikTok video share link?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok video share link like any built-in tool.

How much does TikTok video share link cost in opencode?

$0.0013 per request. 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 TikHub account to use TikTok video share link in opencode?

No. Spiral runs TikTok video share link on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up TikTok video share link in opencode?

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

Does opencode wait while TikTok video share link runs?

TikTok video share link runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does this return the video's details or just a link?

TikHub documents the return as a share link pointing to a specified video's detail page in the TikTok app. It does not document video statistics or comments as this endpoint's output.

Can a share link make a private TikTok video public?

TikTok says videos set to private are visible only to their owner. A generated share link should not be treated as permission to view restricted content.

Will a public video stay available through its link?

TikTok allows an uploaded video to be made private later. The link therefore is not a guarantee that everyone can continue viewing the post.

Does a share link preserve a deleted TikTok post?

The documented output is a link, not an archived copy. TikTok says deleted posts remain in its system for up to 30 days before permanent deletion; that internal retention does not establish public access.

Does getting a link give me permission to reuse the video?

A share link is not a reuse license. TikTok's policy says using another person's copyrighted content requires proper authorization or a legally valid reason.

Get started

Start using TikTok video share link 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