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

Factory Droid · Social Media

How to Use TikTok account posts in Factory Droid

Returns homepage video records for a TikTok account across successive pages. Use it to build a public brand content inventory from the posts it published.

Prompts to try with TikTok account posts in Factory Droid

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

Use TikTok account posts to look this up and give me the result as a table. Save the result in ./assets.

TikTok account postsFactory Droid
Try asking
  • Pull the latest numbers from TikTok account posts and tell me what changed since last week.

  • Check TikTok account posts and summarize what you find in three bullet points.

  • Pull the newest data from TikTok account posts and give me the result as a table.

  • Check TikTok account posts every morning and tell me only when something changed.

How to set up TikTok account posts in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 account posts

    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-fetch-user-post-videos-v2",
        "input": {
          "count": 20
        }
      }'

Then paste one of the prompts above: Factory Droid finds TikTok account posts on Spiral, shows the price and runs it.

TikTok account posts providers and prices

Spiral runs TikTok account posts through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok App · Get user homepage video data V2
tikhub/tiktok-app-v3-fetch-user-post-videos-v2

Settings you can ask for

Ask Factory Droid for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Counta whole number20

Number per page

Sort typea whole number0

Sort type

Max cursora whole number0

Maximum cursor

Every API field of TikTok App · Get user homepage video data V2 is on its tool page: open its card above.

What can you do with TikTok account posts in Factory Droid?

Build a brand research view that keeps TikTok country, content, and public account connections in separate sections. A coding agent can turn retrieved records into project data and add pagination for longer lists.

Prepare a brand account brief

Build a brief for a public brand such as Duolingo: find candidate accounts, add account country, inventory posts and music, and separate reposts from visible likes. Review only public business and creator accounts in follower and following results.

Compare public brand activity

Compare Red Bull and GoPro using the same research scope: account discovery, country, published videos, music lists, reposts, visible likes, and connections to public organizations. Keep each activity separate so the comparison shows what each brand publishes and selects.

Research a potential content collaboration

Prepare questions for a collaboration with a public artist or business. Review account country, published work, music, reposts, visible likes, and public creator or business connections; use account search to investigate additional candidates.

Maintain a weekly brand research digest

Compare scheduled retrievals for a fixed list of public brands. Report changes in account discovery, country, published videos, music, reposts, visible likes, and connections to public organizations, with separate sections for each type of evidence.

Separate published and selected content

Create an editorial review of a brand's own videos alongside its reposts, visible liked videos, and music list. Give each record its source category so the review preserves the difference between publishing and selecting content.

Questions about TikTok account posts in Factory Droid

Can Factory Droid use TikTok account posts?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run TikTok account posts like any built-in tool.

How much does TikTok account posts cost in Factory Droid?

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

Do I need a TikHub account to use TikTok account posts in Factory Droid?

No. Spiral runs TikTok account posts 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 account posts in Factory Droid?

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

Does Factory Droid wait while TikTok account posts runs?

TikTok account posts runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

How fresh is the TikTok data?

TikHub describes each API request as fetching fresh, real-time data, including repeated requests with identical inputs.

Can deleted or private TikTok content be retrieved?

TikHub says TikTok content that has been deleted or made private returns a 400 response.

How many TikTok followers can one page contain?

The follower list documentation caps the requested page size at 20 and says to keep it fixed while paging.

Does data access include ownership or unrestricted reuse?

TikHub says it does not own the underlying data. Users remain responsible for how retrieved data is used, stored, and processed.

Get started

Start using TikTok account posts in Factory Droid

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

Paste this into Factory Droid:

Set up Factory Droid

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