跳到主要内容
Docs/Features/Social Publisher

Social Publisher

Schedule and publish to your connected social accounts (LinkedIn, Instagram, TikTok, Facebook, Twitter, YouTube, Xiaohongshu, Douyin, Weibo) from one composer. Connects to the Image Studio and Video Scripts pipelines so output flows straight to publish.

![Social Publisher](/docs-img/social-publisher.png)

What It Does

  • One composer, every platform. Per-platform overrides for caption, hashtags, and aspect ratio.
  • Drag-and-drop scheduling on a weekly calendar.
  • "Smart-publish" picks the best time per platform from your audience's prior engagement data.
  • Tracks reach + engagement + clicks back into Anvil so you can attribute leads to a post.
  • When to Use

    Whenever you need cross-platform posting without copy-pasting between five different native composers.

    Connecting Accounts

    Go to **Settings > Social Accounts > Connect**. Each provider routes through OAuth at /public/social-oauth/:provider. The state token carries the tenant binding — don't share OAuth links across tenants.

    Scheduling

    POST /api/v1/social/posts accepts a scheduledAt ISO timestamp. Anvil queues the post and publishes within ±60 seconds of the target time.

    API Endpoints

  • `GET /api/v1/social/accounts` — connected accounts.
  • `POST /api/v1/social/posts` — create + (optionally) schedule.
  • `GET /api/v1/social/posts` — list with status filter.
  • `POST /api/v1/social/posts/:id/publish` — fire-now an existing draft.
  • Pricing & Limits

    PlanConnected accountsScheduled posts / month
    Starter330
    Pro251,000
    Enterpriseunlimitedunlimited

    Gotchas

  • TikTok requires a verified business account for API publishing. Personal accounts will fail OAuth.
  • Some providers (notably IG) reject content with detected text overlays past a percentage of the canvas. Anvil pre-flights with the platform's API where it can.
  • Scheduling +/- 60s isn't a guarantee against rate-limits at the platform end; if you're shipping 100 posts in a single hour you'll see drift.