# Post to TikTok with Botdoor

> How to connect TikTok to Botdoor and what your bot can post: media, captions, first comments, threads, polls and covers.

Source: https://docs.botdoor.co/networks/tiktok/

**Status: available.** Videos. Set tiktokAiGenerated for AI-made videos. TikTok can refuse a creator that posted too much (tiktok_cannot_post) and can report the live URL a little later.

## Connect
Sign in with TikTok. In Botdoor: **Accounts → Connect account → TikTok**, or let your bot fetch a link with `GET /api/v1/connect/tiktok`.

## What TikTok supports in Botdoor

| | |
|---|---|
| Platform id | `tiktok` |
| Needs an image or video | Yes |
| Caption length (warning) | about 2200 characters |
| First comment | Yes, up to 150 characters |
| Thread | No |
| Poll | No |
| Video cover image | Yes |
| Video cover frame time | Yes |
| Plan | All plans |

## Example

```json
{
  "content": "Fresh out of the oven.",
  "mediaIds": ["<media id>"],
  "accountIds": ["<your TikTok account id>"],
  "firstComment": "Order: https://example.com/order"
}
```

## Common questions

### Can my bot post to TikTok through Botdoor?

Yes. Connect a TikTok account, then pass its id in accountIds. With an ask-first key you approve each post first.

### Does TikTok need media?

Yes, every post needs an image or video (media_required otherwise).

### Can I add a link in a first comment on TikTok?

Yes, up to 150 characters.
