Skip to content

Publishing

Publish to TikTok

Create your TikTok developer app, connect it, and publish within the limits of TikTok.

Last updated:

Stuarty publishes to TikTok through a developer app that you create and own (ADR-0035): no Stuarty account stands between you and TikTok, and the secret stays in your vault.

Set up the developer app#

What Stuarty sends to TikTok is a draft, not a post. The video goes to your TikTok inbox, with no caption, no privacy level and no cover. You tap the notification in the TikTok app, add your caption and publish it there. Stuarty therefore never reports a TikTok publication as published: it ends as sent as a draft. TikTok offers no public post through an app that has not been audited, and the audit is meant for a product with a wide public, not for a tool that posts to your own accounts.

  1. Create an app in TikTok for Developers.
  2. Add Login Kit and the Content Posting API to it, and ask for the scope video.upload.
  3. Register http://127.0.0.1:<port>/social/callback as the redirect, with the port of your Stuarty server. TikTok allows only a loopback address for it.
  4. While the app is not approved, add yourself as a target user.
  5. Copy the client key and the client secret.
  6. In Stuarty, open Connections, choose Connect, pick TikTok, and paste the client key (the form calls it the client id) and the secret. The secret goes into the vault.
  7. Sign in and accept the permissions.

There is no AI disclosure flag in the draft endpoint. If the video has synthetic content, mark it in the TikTok app when you finish the draft; the approval in Stuarty says so.

Permissions and hosts#

The sign-in asks for these permissions and no others:

  • user.info.basic
  • video.upload

The only hosts Stuarty contacts for TikTok: open.tiktokapis.com, open-upload.tiktokapis.com. They are contacted only after you create the connection.

The official guide is here (read on 2026-11-20).

Limits#

These are the limits Stuarty checks a post to TikTok against before anything is sent (publish:validate). A post that breaks one is refused with the limit named, and nothing leaves your machine.

LimitValue
Titleat most 100 characters
Video fileat most 4 GB
Video formatsmp4
Video codecsh264, hevc
Longest video10 min
Frame rate23 to 60 fps
Smallest picture360 x 360 pixels
Widest picture4096 pixels
Export size of the preset1080 x 1920
Thumbnailnot sent
Visibilityprivate
Posts through the API5 in a moving 24 hours

Where the numbers come from#

TikTok takes the file as a draft in your own app: it is never public until you finish it there.