# TikTok

> TikTok for FlyMy.AI agents - connect once with the official OAuth and let agents post, answer DMs and comments, and read analytics on your behalf. No API keys.

Lets an agent run your TikTok presence - connected with one click through the network's official OAuth. No API keys, no third-party registration: press Connect, sign in to TikTok, done.

## What it can do

| Capability | What it does |
| --- | --- |
| Publishing | Publish videos by public URL with caption settings. |
| Comments | List and reply to video comments. |
| Analytics | Post metrics and account insights. |

## How to connect

1. Open the TikTok tool in the FlyMy.AI catalog and press **Connect**.
2. Sign in with your TikTok account in the popup - this is the network's official OAuth.
3. That's it. The agent is scoped to the account you connected; tokens refresh automatically.

Notes:

- TikTok DMs are not available via API - a TikTok platform restriction.
- Write actions (posting, replying) always confirm content with you first.
- If a run reports "rate limited (429)" - it is transient; the agent retries automatically.

## Troubleshooting

- **"Account is not connected yet"** - the OAuth window was closed early. Reconnect the tool from the catalog.
- **A post fails on TikTok only** - open the post via the get-post action: the per-platform status explains the rejection (media format, caption limits, expired connection).
- **Account disconnected** - reconnect from the catalog; network tokens occasionally require a fresh sign-in.
