Skip to content

Social Platform Standards ​

To ensure AI-generated content remains within platform constraints and is optimized for engagement, TendSocial adheres to the following standards for each platform.

Character Limits (Dec 2025) ​

These limits are strictly enforced in the backend AI prompts to prevent generation errors.

PlatformMax Character LimitRecommended Length
X (Twitter)280 (Strict)70 - 100 characters
Instagram2200138 - 150 characters
Facebook63,00040 - 80 characters
LinkedIn30001200 - 2000 characters
Threads500150 - 250 characters
TikTok4000100 - 150 characters
Pinterest500150 - 300 characters
YouTube5000200 - 500 characters
Google Business1500150 - 300 characters

Implementation Details ​

The constraints are defined in two key locations:

  1. Backend (Source of Truth): apps/backend/src/infra/ai/prompts/socialPost.ts - Used for AI generation.
  2. Frontend (UI/Validation): apps/frontend/src/utils/platformConfig.ts - Used for character count display and validation.

Example Prompt Injection ​

The backend UI prompt includes a section like:

  • X (Twitter): STRICT ADHERENCE to max 280 characters. CRITICAL: NEVER exceed this limit. Recommended length for engagement: 70-100 characters.

Verification ​

Any changes to these limits should be verified by running the unit tests: pnpm run test apps/backend/src/infra/ai/prompts/socialPost.test.ts

TendSocial Documentation