TikTok
Connect TikTok to Peal, what a post there may hold, and the options it takes.
TikTok’s guidelines ask an app to show the account’s own settings before it posts, so the composer reads them from TikTok. Until TikTok has audited the server’s app, it takes only private posts.
At a glance
Here’s what a TikTok post can hold:
| Text | 2,200 characters, as TikTok counts them |
| Images and videos | Up to 20, one video at most, required |
| Parts | One post |
| Formats | Feed |
| Alt text | Not shown |
What each file type must be is in Images and videos.
Connect an account
Under TikTok, click Connect TikTok, sign in on TikTok and allow Peal. It asks for:
- Your profile and username.
- The right to post videos and photos on your account.
- The right to read your videos, for their counts in analytics. You can turn this one off on TikTok’s page, and the channel then posts without analytics.
Channels offers TikTok once the Peal server is set up for it (see On your own server).
Options
The composer shows these first. API name is the option’s name in the API.
| Option | API name | In the composer |
|---|---|---|
| Who can view this post | privacyLevel |
Required, with no default: one of the audiences the account has (see below) |
| Allow comments | disableComment |
Off until you turn it on |
| Allow Duet | disableDuet |
Off until you turn it on |
| Allow Stitch | disableStitch |
Off until you turn it on |
| Commercial content disclosure | commercialContent |
See Commercial content |
| AI-generated content | aiGenerated |
Says the post holds AI-generated content |
Through the API, the three Allow options read the other way: true turns comments, Duet or Stitch off.
Peal sends each of the other options only when you set it. Some apply only to some media: the composer shows them for those, and scheduling refuses them on another post.
| Option | API name | Values | Left out |
|---|---|---|---|
| Cover frame, in milliseconds | videoCoverTimestampMs |
A video’s frame, in milliseconds from its start, within it | The first frame |
| Photo post title | photoTitle |
Photos: 90 characters at most, as TikTok counts them | No title |
| Add music automatically | autoAddMusic |
Photos: yes or no | No |
| Cover photo | photoCoverIndex |
Photos: the cover’s place, from 0 for the first | The first photo |
A photo post’s text is its description. Its title is separate.
Commercial content
To disclose commercial content on TikTok, turn on Disclose commercial content. Then say whose brand the post promotes:
| Choice | API name | For | TikTok’s label |
|---|---|---|---|
| Your brand | brandOrganic |
Your own brand | “Promotional content” |
| Branded content | brandContent |
A third party | “Paid partnership” |
You can select both. Branded content can’t be visible to you only.
What the composer reads from TikTok
On a TikTok channel, the composer reads the account’s settings on TikTok, as TikTok’s guidelines ask. Here’s what it does with them:
- It names the account the post goes out as.
- It offers only the audiences the account has. A public account has everyone, friends and only me. A private one has followers, friends and only me.
- It greys out the interactions the account’s owner turned off in TikTok.
- It leaves out Duet and Stitch on photo posts.
- It says how a disclosure labels the post.
Scheduling checks those settings again, along with the longest video the account can post. TikTok’s consent line sits under the options, and posting agrees to it.
If the composer can’t read the settings, it says why: the channel needs reconnecting, it’s turned off, or TikTok didn’t answer. In the last case, try again later: when TikTok asks Peal to slow down, the wait can be an hour.
Comments
Peal doesn’t read comments on TikTok yet.
On your own server
A self-hosted server offers TikTok once its app is registered: see TikTok. Until then, Channels doesn’t offer it.