How to Use TikTok account secUid in Factory Droid
Extracts a TikTok account's secUid from its profile link. Use it to resolve a public brand or creator URL into an account identifier.
Prompts to try with TikTok account secUid in Factory Droid
Copy an example into Factory Droid, or ask in your own words.
Use TikTok account secUid for https://www.tiktok.com/@tiktok and check whether our account importer preserves the returned identifier.
Use TikTok account secUid to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok account secUid and tell me what changed since last week.
Check TikTok account secUid and summarize what you find in three bullet points.
Pull the newest data from TikTok account secUid and give me the result as a table.
How to set up TikTok account secUid in Factory Droid
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- Sign in
Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.
- 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
- Send Factory Droid this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run TikTok account secUid
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-web-get-sec-user-id", "input": { "url": "https://www.tiktok.com/@tiktok" } }'
Then paste one of the prompts above: Factory Droid finds TikTok account secUid on Spiral, shows the price and runs it.
TikTok account secUid providers and prices
Spiral runs TikTok account secUid through TikHub. Open a card for today's price, with every fee included.
What can you do with TikTok account secUid in Factory Droid?
Build a TikTok research importer that handles content lists and identifier responses correctly. A coding agent can inspect actual responses, adapt your project's parsers, and keep account, video, collection, and LIVE room records distinct.
Resolve links in a campaign brief
Convert public creator profile links, individual video links, and LIVE links into their corresponding TikTok identifiers for an internal campaign record.
Create TikTok response fixtures
Collect actual responses for an internal parser test suite: account profiles, content lists, extracted identifiers, generated email hashes, and web device ID responses.
Debug a TikTok data importer
Inspect the actual response at each failing stage: link resolution, hash generation, web device ID generation, profile retrieval, or content-list retrieval. Use those responses to locate the parser or identifier mismatch.
Prepare identifiers for request development
Generate email hashes and web device IDs for internal TikTok request experiments. Resolve public profile, video, and LIVE links into the corresponding account, video, and room identifiers.
Build an internal TikTok identifier inspector
Give developers a place to inspect generated email hashes, web device ID responses, and identifiers extracted from public account, video, or LIVE links.
More on TikTok account secUid and Factory Droid
Overview
TikTok account secUid in other agents
Questions about TikTok account secUid in Factory Droid
Can Factory Droid use TikTok account secUid?
Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run TikTok account secUid like any built-in tool.
How much does TikTok account secUid 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 secUid in Factory Droid?
No. Spiral runs TikTok account secUid 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 secUid in Factory Droid?
About two minutes: add the server, then sign in, then check it.
Does Factory Droid wait while TikTok account secUid runs?
TikTok account secUid runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.
Can TikHub retrieve private TikTok content?
TikHub states that it accesses only publicly available data. Its documented scope excludes private, restricted, and password-protected content.
Does TikHub guarantee that TikTok data is complete and current?
TikHub disclaims guarantees of data accuracy, completeness, reliability, and timeliness. A returned content list therefore carries no guarantee of complete historical coverage or immediate updates.
How many TikTok posts can one page contain?
TikTok creator posts returns up to 15 posts per page, ordered newest first. The deprecated sorting setting does not change that order.
Can I request larger pages of TikTok reposts?
TikTok creator reposts uses a fixed page size of 20. TikHub explicitly says that this size cannot be changed.
What use does TikHub's license permit?
TikHub's service license specifies lawful internal business purposes. TikTok's U.S. terms separately prohibit automated scripts that collect information from or interact with its services.
Start using TikTok account secUid 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 https://spiral.ai/SKILL.md


