Social media post limits and preflight checker
Paste a post, pick platforms and media, and see where it fits X, Bluesky, Threads, Instagram, LinkedIn, TikTok, YouTube, and Facebook, and where it breaks a limit. Below it, every platform's text, media, and access rules in one table.
Preflight
4 fit, 3 over a limit.
-
XFits
108 / 280 weighted characters
- 1 URL counts as 23 characters each. X bills a post with a URL at the higher Post: Create (with URL) rate.
-
BlueskyFits
113 / 300 graphemes
Bluesky limits in the docs -
ThreadsFits
116 / 500 characters
Threads limits in the docs -
InstagramOver limit
114 / 2,200 characters
- Media. Instagram posts need at least one image or video.
-
LinkedInFits
114 / 3,000 characters
LinkedIn limits in the docs -
TikTokOver limit
114 / 2,200 characters
- Media. TikTok posts need at least one image or video.
-
YouTubeOver limit
116 / 5,000 bytes
- Media. YouTube posts need exactly one video.
- The text becomes the video description. A title of 1 to 100 characters is set separately.
Platform spec and access matrix
Text, image, and video limits, what each platform needs before an app can post for other people, and the main posting limit. Each row links to the platform's docs page, which lists every limit with the provider's source.
| Platform | Text | Images | Video | Access and review | Posting limit | Read more |
|---|---|---|---|---|---|---|
| X | 280 weighted characters | Up to 4 (JPEG, PNG, WebP), 5 MiB each. Multi-item posts: 2 to 4 | One video, length limit set per account, up to 16 GiB (SDK upload ceiling). MP4, MOV, WebM (animated GIFs: 1 per post, 15 MiB max). | A developer app and an OAuth 2.0 user token. Pay-per-use credits; no general free tier. tweet. |
10,000 posts per app per 24 hours and 100 per user per 15 minutes. Each post is billed: $0.015, or $0.20 with a URL | X docsX API pricing guideX rate limits checked 2026-11-23X pricing checked 2026-11-23X counting characters checked 2026-11-23X authentication checked 2026-11-23X media best practices checked 2026-11-04 |
| Bluesky | 300 graphemes and 3,000 bytes | Up to 10 (image/*), 2,000,000 bytes each. Multi-item posts: 2 to 10 | One video, no length limit in the lexicon, up to 300,000,000 bytes. MP4. | No developer account or key. Sign in as the account with an app password or OAuth. App password, or OAuth with atproto and repo scopes |
5,000 points an hour (3 per create), about 1,666 posts an hour per account | Bluesky docsBluesky API guideBluesky rate limits checked 2026-11-23AT Protocol OAuth checked 2026-11-23AT Protocol permissions checked 2026-11-23Bluesky post lexicon checked 2026-11-23AT Protocol embed lexicons checked 2026-11-04 |
| Threads | 500 characters (emoji count as bytes) | Up to 20 (JPEG, PNG), 8 MB each. Multi-item posts: 2 to 20 | One video, up to 300 s, up to 1 GB. MP4, MOV. | A Meta app. App Review for users outside your app's roles. threads_ |
250 API posts per profile per 24 hours (a carousel counts as one) | Threads docsThreads API guideMeta: Threads posts checked 2026-11-21 |
| 2,200 characters. Needs media. Up to 30 hashtags and 20 @ tags | Up to 20 (JPEG only), 8 MB each. Multi-item posts: 2 to 20 | One video, 3 s to 900 s, up to 300 MB. MP4 or MOV, published as a Reel. | A professional (Business or Creator) account and a Meta app. Advanced Access (which requires App Review and Business Verification) for accounts outside your organization. instagram_ |
100 API-published posts per account in a moving 24 hours (a carousel counts as one) | Instagram docsSocial media APIs guideMeta: Instagram Platform overview checked 2026-11-23Meta: Business Login for Instagram checked 2026-11-23Meta: Instagram content publishing checked 2026-11-23Meta: IG User Media reference checked 2026-11-04 | |
| 3,000 characters | Up to 20 (JPG, GIF, PNG), 20 MiB (SDK policy; LinkedIn gives none) each. Multi-item posts: 2 to 20 | One video, 3 s to 1,800 s, up to 500 MiB. MP4. | w_member_social to post as a member, or w_organization_social plus an admin or poster role on the Page. w_ |
Daily limits per app and per member, reset at midnight UTC; LinkedIn publishes no standard figures | LinkedIn docsLinkedIn Posts API guideLinkedIn Images and Videos APIs (202610) checked 2026-11-04 | |
| TikTok | 2,200 characters (4,000 for photo posts). Needs media | Up to 35 (JPEG, WebP), 20 MiB each. Multi-item posts: 2 to 35 | One video, up to 600 s, up to 4 GiB. MP4, WebM, MOV. | A TikTok app. Until TikTok audits it, posts are private (SELF_ONLY) and reach at most five users in 24 hours. video. |
About 15 Direct Posts per creator per day, shared across API clients | TikTok docsSocial media APIs guideTikTok Media Transfer Guide checked 2026-11-04 |
| YouTube | 5,000 bytes (description), no < or >. Needs media | Not supported | One video, up to 43,200 s, up to 256 GB. video/*. | A Google Cloud project and an OAuth token. OAuth verification and the API audit are separate reviews. https:// |
100 videos.insert calls a day by default | YouTube docsYouTube upload API guideYouTube Data API guideYouTube Data API videos.insert checked 2026-11-04 |
| 63,206 characters | Up to 10 (JPEG, BMP, PNG, GIF, TIFF), 10 MB each. Multi-item posts: 2 to 10 | One video, no published length limit (Reels: 3 to 90 s), no published size limit. Page video or Reel; MP4 recommended. | A Meta app with Facebook Login and a Page access token from a user who can CREATE_CONTENT on the Page. pages_ |
30 API-published Reels per Page in a moving 24 hours | Facebook docsFacebook Page access token guideMeta: Page photos and Reels publishing checked 2026-11-04 |
No platform matches that filter.
Check it in code
The SDK runs the same checks, and a few this page can't, such as MIME types and
carousel aspect ratios. social.posts.prepare returns a typed issue
for every target that breaks a rule, before any request is sent. The sample
follows the platforms and text above and type-checks against the npm release
0.5.0; Facebook's subpath isn't in that release yet.
import { readFile } from "node:fs/promises";
import { createSocial, connectedAccountRef, type MediaAttachment } from "@opencoredev/social-sdk";
import { x } from "@opencoredev/social-sdk/x";
import { bluesky } from "@opencoredev/social-sdk/bluesky";
import { threads } from "@opencoredev/social-sdk/threads";
import { instagram } from "@opencoredev/social-sdk/instagram";
import { linkedin } from "@opencoredev/social-sdk/linkedin";
import { tiktok } from "@opencoredev/social-sdk/tiktok";
import { youtube } from "@opencoredev/social-sdk/youtube";
const env = (name: string): string => {
const value = process.env[name];
if (!value) throw new Error(`Missing ${name}`);
return value;
};
const linkedinAuthor: `urn:li:person:${string}` = `urn:li:person:${env("LINKEDIN_PERSON_ID")}`;
const social = createSocial({
backends: {
x: x({ auth: { userId: env("X_USER_ID"), accessToken: env("X_ACCESS_TOKEN") } }),
bluesky: bluesky({
backend: "bluesky",
auth: { service: "https://bsky.social", did: env("BLUESKY_DID"), accessJwt: env("BLUESKY_ACCESS_JWT") },
}),
threads: threads({
backend: "threads",
auth: { userId: env("THREADS_USER_ID"), accessToken: env("THREADS_ACCESS_TOKEN") },
}),
instagram: instagram({
auth: { accessToken: env("INSTAGRAM_ACCESS_TOKEN"), accountId: env("INSTAGRAM_ACCOUNT_ID") },
}),
linkedin: linkedin({
auth: { accessToken: env("LINKEDIN_ACCESS_TOKEN"), author: linkedinAuthor },
apiVersion: "202609",
}),
tiktok: tiktok({
auth: { accessToken: env("TIKTOK_ACCESS_TOKEN"), openId: env("TIKTOK_OPEN_ID") },
verifiedMediaOrigins: ["https://media.example.com"],
}),
youtube: youtube({
auth: { accessToken: env("YOUTUBE_ACCESS_TOKEN"), channelId: env("YOUTUBE_CHANNEL_ID") },
}),
},
});
// Upload the video bytes directly.
const videoFile = new Blob([await readFile("./launch.mp4")], { type: "video/mp4" });
const uploadedVideo: MediaAttachment = {
kind: "video",
source: { kind: "blob", blob: videoFile, fingerprint: "launch-v2" },
mimeType: "video/mp4",
byteSize: videoFile.size,
};
// Hosted HTTPS video URL pulled by the platform.
const hostedVideo: MediaAttachment = {
kind: "video",
source: { kind: "https-url", url: "https://media.example.com/launch.mp4" },
mimeType: "video/mp4",
durationSeconds: 30, // the file's real length
};
const request = {
content: { text: "We just shipped v2 of our scheduler 🚀 Changelog and migration notes: https://example.com/changelog #buildinpublic" },
targets: [
{ account: connectedAccountRef({ backend: "x", platform: "x", accountId: env("X_USER_ID") }) },
{ account: connectedAccountRef({ backend: "bluesky", platform: "bluesky", accountId: env("BLUESKY_DID") }) },
{ account: connectedAccountRef({ backend: "threads", platform: "threads", accountId: env("THREADS_USER_ID") }) },
{
account: connectedAccountRef({ backend: "instagram", platform: "instagram", accountId: env("INSTAGRAM_ACCOUNT_ID") }),
content: { media: [hostedVideo] },
},
{ account: connectedAccountRef({ backend: "linkedin", platform: "linkedin", accountId: linkedinAuthor }) },
{
account: connectedAccountRef({ backend: "tiktok", platform: "tiktok", accountId: env("TIKTOK_OPEN_ID") }),
content: { media: [hostedVideo] },
// Inbox draft: transfers the video only (add the caption in TikTok); needs video.upload and creator consent.
options: {
draft: true,
privacy: "SELF_ONLY",
consentGiven: true,
disableComments: false,
disableDuet: false,
disableStitch: false,
brandedContent: false,
ownBrand: false,
aiGenerated: false,
},
},
{
account: connectedAccountRef({ backend: "youtube", platform: "youtube", accountId: env("YOUTUBE_CHANNEL_ID") }),
content: { media: [uploadedVideo] },
options: { title: "What changed in v2", visibility: "private", madeForKids: false },
},
],
} as const;
// Lists every limit a target breaks, before anything is sent.
const plan = social.posts.prepare(request);
if (!plan.ok) throw new Error(plan.issues.map((issue) => issue.message).join("\n"));
const result = await social.posts.publish(request);
for (const outcome of result.outcomes) {
// "processing" and "unknown" are not published yet: check again before retrying.
console.log(outcome.account.platform, outcome.state);
}
How the checker counts
- X weighs text: most Latin characters count 1, other characters and emoji 2, and every URL 23, the length of a t.co link, against 280. X Premium long-form posts can hold 25,000. The page runs the SDK's own counter, with X's full list of link domains, so a bare link such as example.education counts as 23 here too.
- Bluesky counts graphemes, what a reader sees as one character, so a family emoji is 1. A post must also fit in 3,000 UTF-8 bytes.
- Threads counts characters, but each emoji by its UTF-8 bytes: 125 😀 fill the 500.
- Instagram, LinkedIn, TikTok, and Facebook are checked by string length, as the SDK checks them (Facebook caps Page post text at 63,206 characters). YouTube measures the description in UTF-8 bytes and rejects < and >. TikTok also needs each video's length, above 0 seconds.
- Sizes are in MB (1,000,000 bytes). Where the SDK checks against MiB, the limit says so.
Limits come from each platform's docs page, which cites the provider's own pages and the date they were checked. Platforms change them, so check the provider before you build a feature on a limit. For each platform's access rules and review steps in more depth, read social media APIs compared. To estimate what posting costs, use the API cost calculator.
Rather not run it yourself? Social SDK Cloud, the hosted version, is taking early-access signups. Join the list.