# Post to X (Twitter) with Botdoor

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

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

**Status: available.** Posts, threads and polls. Platform id is `twitter`.

## Connect
Sign in with X. Needs the Solo plan or higher. In Botdoor: **Accounts → Connect account → X (Twitter)**, or let your bot fetch a link with `GET /api/v1/connect/twitter`.

## What X (Twitter) supports in Botdoor

| | |
|---|---|
| Platform id | `twitter` |
| Needs an image or video | No |
| Caption length (warning) | about 280 characters |
| First comment | Yes, up to 280 characters |
| Thread | Yes |
| Poll | Yes |
| Video cover image | No |
| Video cover frame time | No |
| Plan | Solo and Agency only |

## Example

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

## Common questions

### Can my bot post to X (Twitter) through Botdoor?

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

### Does X (Twitter) need media?

No. Text-only posts work.

### Can I add a link in a first comment on X (Twitter)?

Yes, up to 280 characters.

### Why can't I connect X on Free?

X is available on Solo and Agency. Free returns plan_feature_unavailable.
