# Post to YouTube with Botdoor

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

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

**Status: available.** Videos and Shorts. Every post needs a video.

## Connect
Sign in with Google and pick the channel. In Botdoor: **Accounts → Connect account → YouTube**, or let your bot fetch a link with `GET /api/v1/connect/youtube`.

## What YouTube supports in Botdoor

| | |
|---|---|
| Platform id | `youtube` |
| Needs an image or video | Yes |
| Caption length (warning) | no Botdoor check |
| First comment | Yes, up to 10000 characters |
| Thread | No |
| Poll | No |
| Video cover image | Yes |
| Video cover frame time | No |
| Plan | All plans |

## Example

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

## Common questions

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

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

### Does YouTube need media?

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

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

Yes, up to 10000 characters.
