Options for posting using the TikTok API
post: ""
.imageCoverIndex
. By default,
the first image is used. Please see below for details.id
field set to "pending"
. After TikTok completes their processing, usually within 1 - 2 minutes, the id
field will be updated with the TikTok video id
and a postUrl
will be added.
subAction: "tikTokPublished"
.id
field will be set to “failed” and the errors
field will contain the error
details.idShare
is used for internal referencing the pending video.tikTokOptions
object.
Please see below for more details on each option.
true
, you can change the music later in the TikTok app.Media type: imagetrue
, the video will be labeled as Branded Content, indicating you are in a paid partnership with a brand. A “Paid partnership” label will be attached to the video.Media type: video, imagetrue
, the video will be labeled as Brand Organic Content, indicating you are promoting yourself or your own business. A “Promotional content” label will be attached to the video.Media type: video, imagemediaUrls
to be used as the cover for the post.Media type: imagepublic
, private
, followers
, or friends
.Please see below.Media type: imageVisibility | Description |
---|---|
public | Visible to all TikTok users. |
private | Private, only visible to the account itself.* |
followers | Only visible to followers of the account. |
friends | Only visible to mutual followers. |
pending
and no TikTok webhook will be sent until the post is made public.
thumbNailOffset
parameter to set a thumbnail frame.thumbNail
parameter to set a thumbnail image from a URL.0
, which is the first frame of the video.
thumbNail
parameter, the thumbNailOffset
parameter will be ignored.
Please see TikTok Thumbnail Requirements for more information.
@handle
in the post text. For example:
postUrl
will remain in pending
status until the video is published. First comment not supported on draft posts.