> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post to Bluesky

> What a Bluesky account takes through the API: posts, threads and website cards, links, mentions and hashtags, media limits, first comments, deletes, comments and analytics.

A Bluesky account has `platform` `bluesky`. It posts single posts and threads, each with text, photos or a video.

## Connect an account

A Bluesky account connects with its handle and an app password, made in Bluesky's settings. Use a [connect link](https://docs.postsyncer.com/api-reference/accounts/connect-link.md) with `provider` `bluesky`, or **Accounts** in the app. When Bluesky ends a session, PostSyncer signs in again with the app password. If that app password is deleted in Bluesky, the account needs reconnecting.

## What you can post

* A post with text, up to 4 photos, or one video.
* A thread: each item of `content` is one post, sent as a reply to the one before.
* A website card under a first post that has no media, with `website_card`.

## Settings

Every key is optional. [Create a post](https://docs.postsyncer.com/api-reference/posts/create.md#platform-specific-settings) has the full list.

| Key | What it does |
| - | - |
| `title` | Bluesky's own text for the first post, instead of the first item's text. |
| `website_card` | A link card: `uri`, and optionally `title` and `description`. Used on the first post only, when it has no media. A missing title or description is read from the page, with its picture. |
| `media` | This account's own media library ids, in place of the first item's media. |

## Text

* Each post takes 300 characters. PostSyncer cuts a longer post to 300 when it's sent. To keep every word, split the text into more items.
* Links, `@handle` mentions and `#hashtags` in the text become links on Bluesky. A handle Bluesky doesn't know stays plain text.

## Media

| | Limit |
| - | - |
| Photos | Up to 4, 5 MB each |
| Video | 1, up to 100 MB |
| Picture types | JPG, PNG, GIF, WebP |
| Video types | MP4, MOV, WebM. A MOV or WebM is converted to MP4 first. |

* A post carries photos or a video, not both. In a thread, each post has its own media under these rules.
* A photo over 1.5 MB is made smaller before it's sent, to fit Bluesky's own limit.
* A GIF on its own is sent as a video, so it plays. A GIF among other photos goes as a still photo.
* PostSyncer doesn't check a video's length for Bluesky. Bluesky's own limits apply.

## Threads and first comments

* Each item after the first is posted as a reply to the one before. Each item has its own text and media.
* A first comment (`is_first_comment: true`) is a reply at the end of the thread. With `first_comment_delay` `0` it goes out with the thread. With a delay (1 minute when you leave it out), it's posted that many minutes later, under the thread's last post.

## Delete a post

Deleting the post in PostSyncer asks Bluesky to delete the first post. The rest of the thread and the first comment stay up on Bluesky. If Bluesky refuses, the refusal is only logged: PostSyncer's copy is deleted and the post stays live. See [Test safely](https://docs.postsyncer.com/test-safely.md#what-cant-be-undone).

## Comments

* PostSyncer reads replies an hour after the post goes out, every 6 hours for its first day, then once a day until it's 7 days old, and whenever you ask with [Sync comments](https://docs.postsyncer.com/api-reference/comments/sync.md).
* Replies go out from the account, with up to 4 photos or one video.
* Bluesky can't hide replies: hide answers `422` with `Bluesky can't hide comments. Delete the comment instead.`
* Delete removes a reply the account wrote, one sent from PostSyncer included. Anyone else's reply stays on Bluesky, but PostSyncer still marks it `is_deleted_on_platform: true` and answers `200`.

## Analytics

Bluesky gives `likes`, `comments`, `shares` (reposts), `quotes` and `saves`. It gives no `impressions`, so `engagement_rate` is `null`. See [Read analytics](https://docs.postsyncer.com/guides/analytics.md).

## Example

A draft thread with a website card on the first post:

```json theme={null}
{
  "workspace_id": 4815,
  "schedule_type": "draft",
  "content": [
    { "text": "Our spring menu is up. #coffee" },
    { "text": "The lavender oat latte is back, and so is the rhubarb bun." }
  ],
  "accounts": [
    {
      "id": 16245,
      "settings": {
        "website_card": {
          "uri": "https://haldencoffee.example/menu",
          "title": "Spring menu at Halden Coffee"
        }
      }
    }
  ]
}
```

## Related

> [card] [Publish a post](https://docs.postsyncer.com/guides/publish-a-post.md#threads-and-first-comments)
>
> Threads and first comments on every network.

> [card] [Compare the 12 networks](https://docs.postsyncer.com/platforms/overview.md)
>
> How Bluesky differs from the other networks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.