tiktok-post

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

TikTok Post

TikTok 帖子

Upload and schedule videos to TikTok using the Publora MCP server. Supports privacy controls, interaction settings (comments, duet, stitch), and commercial content disclosure.
通过Publora MCP服务器上传并调度TikTok视频。支持隐私控制、互动设置(评论、合拍、拼接)以及商业内容披露。

Prerequisites

前提条件

Plans: Free Starter (15 posts/month), Pro, Premium
套餐: 免费入门版(每月15条帖子)、专业版、高级版

Getting Started

入门步骤

  1. Create account at publora.com/register (free)
  2. Connect TikTok via OAuth in Publora Dashboard
  3. Get API key at publora.com/settings/api
  4. Configure MCP in Claude Desktop (
    ~/.claude/claude_desktop_config.json
    ):
json
{
  "mcpServers": {
    "publora": {
      "type": "http",
      "url": "https://mcp.publora.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
  1. 创建账户:访问publora.com/register(免费)
  2. 连接TikTok:在Publora控制台中通过OAuth完成连接
  3. 获取API密钥:访问publora.com/settings/api
  4. 配置MCP:在Claude Desktop中修改
    ~/.claude/claude_desktop_config.json
    文件:
json
{
  "mcpServers": {
    "publora": {
      "type": "http",
      "url": "https://mcp.publora.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

REST API Fallback

REST API 备用方案

If the MCP server is unavailable or returns errors, use the REST API directly:
Base URL:
https://api.publora.com/api/v1
Authentication: Use
x-publora-key
header (NOT
Authorization: Bearer
):
bash
undefined
若MCP服务器不可用或返回错误,可直接使用REST API:
基础URL:
https://api.publora.com/api/v1
身份验证: 使用
x-publora-key
请求头(请勿使用
Authorization: Bearer
):
bash
undefined

Get your connected platforms

获取已连接的平台

curl -X GET "https://api.publora.com/api/v1/platform-connections"
-H "x-publora-key: sk_your_api_key"
curl -X GET "https://api.publora.com/api/v1/platform-connections"
-H "x-publora-key: sk_your_api_key"

Create a post

创建帖子

curl -X POST "https://api.publora.com/api/v1/create-post"
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["tiktok-99887766"], "content": "Video caption here #hashtag", "scheduledTime": "2026-03-25T10:00:00Z", "platformSettings": { "tiktok": { "viewerSetting": "PUBLIC_TO_EVERYONE", "allowComments": true } } }'

**Platform ID Format:** `tiktok-{id}` where `{id}` is from `/platform-connections` response.

Example IDs: `tiktok-99887766`, `tiktok-123456789`

📖 **Full API documentation:** [docs.publora.com](https://docs.publora.com)
curl -X POST "https://api.publora.com/api/v1/create-post"
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["tiktok-99887766"], "content": "视频标题 #话题标签", "scheduledTime": "2026-03-25T10:00:00Z", "platformSettings": { "tiktok": { "viewerSetting": "PUBLIC_TO_EVERYONE", "allowComments": true } } }'

**平台ID格式:** `tiktok-{id}`,其中`{id}`可从`/platform-connections`接口的响应中获取。

示例ID:`tiktok-99887766`, `tiktok-123456789`

📖 **完整API文档:** [docs.publora.com](https://docs.publora.com)

Plan Limits

套餐限制

PlanPosts/monthPrice
Starter15Free
Pro100/account$2.99/account/month
Premium500/account$9.99/account/month
套餐每月帖子数量价格
入门版15免费
专业版100/账户2.99美元/账户/月
高级版500/账户9.99美元/账户/月

Platform Limits (API vs Native App)

平台限制(API 对比原生应用)

Critical API limits that differ from native TikTok app:
与TikTok原生应用不同的关键API限制:

Video Requirements

视频要求

SpecificationAPI LimitNative App
Max duration10 minutes60 minutes
Min duration3 seconds3 seconds
Max file size4 GB4 GB
Min frame rate23 FPS23 FPS
FormatsMP4, MOV, WebMMP4, MOV, WebM
规格API限制原生应用
最长时长10分钟60分钟
最短时长3秒3秒
最大文件大小4GB4GB
最低帧率23 FPS23 FPS
格式MP4、MOV、WebMMP4、MOV、WebM

Caption Limits

标题限制

ElementAPI LimitNative App
Caption length2,200 characters4,000 characters
HashtagsIncluded in caption countIncluded in caption count
元素API限制原生应用
标题长度2200字符4000字符
话题标签计入标题字符数计入标题字符数

Rate Limits

速率限制

LimitValue
Posts per day15-20
Videos per minuteMax 2
限制项数值
每日帖子数量15-20
每分钟视频数量最多2个

Available Tools

可用工具

create_post

create_post

Create a new TikTok post.
Parameters:
  • platforms
    : Array with your TikTok connection ID (e.g.,
    ["tiktok-99887766"]
    )
  • content
    : Video caption (up to 2,200 characters)
  • scheduledTime
    : ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)
创建新的TikTok帖子。
参数:
  • platforms
    : 包含TikTok连接ID的数组(例如:
    ["tiktok-99887766"]
  • content
    : 视频标题(最多2200字符)
  • scheduledTime
    : ISO 8601格式的日期时间(必填 - 若需立即发布,使用当前时间+1分钟)

get_upload_url

get_upload_url

Get presigned URL for video upload.
Parameters:
  • postGroupId
    : Post ID to attach video to
  • fileName
    : Video file name (e.g., "video.mp4")
  • contentType
    :
    video/mp4
    ,
    video/quicktime
    , or
    video/webm
  • type
    :
    "video"
获取用于视频上传的预签名URL。
参数:
  • postGroupId
    : 要关联视频的帖子ID
  • fileName
    : 视频文件名(例如:"video.mp4")
  • contentType
    :
    video/mp4
    ,
    video/quicktime
    , 或
    video/webm
  • type
    :
    "video"

list_posts / update_post / delete_post

list_posts / update_post / delete_post

Manage scheduled and draft posts.
管理已调度和草稿状态的帖子。

Platform Settings (via REST API)

平台设置(通过REST API)

TikTok has 7 platform-specific settings controlled via
platformSettings
:
json
{
  "platformSettings": {
    "tiktok": {
      "viewerSetting": "PUBLIC_TO_EVERYONE",
      "allowComments": true,
      "allowDuet": false,
      "allowStitch": false,
      "commercialContent": false,
      "brandOrganic": false,
      "brandedContent": false
    }
  }
}
TikTok有7项特定平台设置,可通过
platformSettings
进行控制:
json
{
  "platformSettings": {
    "tiktok": {
      "viewerSetting": "PUBLIC_TO_EVERYONE",
      "allowComments": true,
      "allowDuet": false,
      "allowStitch": false,
      "commercialContent": false,
      "brandOrganic": false,
      "brandedContent": false
    }
  }
}

Viewer Settings (Required)

观看者设置(必填)

ValueDescription
PUBLIC_TO_EVERYONE
Anyone can view (default)
MUTUAL_FOLLOW_FRIENDS
Only mutual followers
FOLLOWER_OF_CREATOR
Only your followers
SELF_ONLY
Only you (draft-like)
描述
PUBLIC_TO_EVERYONE
所有人可查看(默认)
MUTUAL_FOLLOW_FRIENDS
仅互相关注的好友
FOLLOWER_OF_CREATOR
仅你的粉丝
SELF_ONLY
仅自己可见(类似草稿)

Interaction Settings

互动设置

SettingDefaultDescription
allowComments
true
Whether viewers can comment
allowDuet
false
Whether viewers can create Duets
allowStitch
false
Whether viewers can Stitch
设置项默认值描述
allowComments
true
是否允许观众评论
allowDuet
false
是否允许观众创建合拍视频
allowStitch
false
是否允许观众创建拼接视频

Commercial Content Settings

商业内容设置

SettingDefaultDescription
commercialContent
false
Is this commercial content?
brandOrganic
false
Organic brand promotion
brandedContent
false
Paid partnership/sponsored
Note: If
commercialContent
is
true
, at least one of
brandOrganic
or
brandedContent
must also be
true
.
Note:
platformSettings
is not available via MCP - use REST API for these settings.
设置项默认值描述
commercialContent
false
是否为商业内容?
brandOrganic
false
品牌自然推广
brandedContent
false
付费合作/赞助内容
注意:
commercialContent
设为
true
,则
brandOrganic
brandedContent
中至少有一个需设为
true
注意:
platformSettings
无法通过MCP使用 - 需使用REST API进行这些设置。

Critical Restrictions

重要限制

1. Unaudited Apps = PRIVATE Only

1. 未审核应用 = 仅支持私密发布

CRITICAL: If your TikTok app hasn't passed TikTok's review process, you can ONLY post PRIVATE videos (
SELF_ONLY
). All other
viewerSetting
values will be overridden to
SELF_ONLY
.
To post public videos, your app must be audited by TikTok.
重要提醒: 若你的TikTok应用未通过TikTok审核流程,你仅能发布私密视频
SELF_ONLY
)。所有其他
viewerSetting
值将被强制覆盖为
SELF_ONLY
若要发布公开视频,你的应用必须通过TikTok审核。

2. Video Only Platform

2. 仅支持视频平台

TikTok does NOT support:
  • Text-only posts
  • Image posts
  • Photo carousels
Every post must include a video.
TikTok不支持:
  • 纯文字帖子
  • 图片帖子
  • 图片轮播
每个帖子必须包含视频。

3. Minimum 23 FPS

3. 最低23 FPS

Videos below 23 frames per second will be rejected by TikTok.
帧率低于23帧/秒的视频将被TikTok拒绝。

Examples

示例

Basic Video Post

基础视频发布

Post this video to TikTok:
"How we built our startup in 60 seconds #startup #tech #coding"
将此视频发布到TikTok:
"我们如何在60秒内打造创业公司 #startup #tech #coding"

Private Draft (Testing)

私密草稿(测试用)

Upload this video as a private draft to TikTok (only I can see it):
"Testing new content format"
Use
viewerSetting: "SELF_ONLY"
for testing before making public.
将此视频作为私密草稿上传到TikTok(仅我可见):
"测试新内容格式"
测试阶段可使用
viewerSetting: "SELF_ONLY"
,之后再设为公开。

Branded Content

品牌合作内容

Post this sponsored video to TikTok with proper disclosure:
"Loving this new product from @brand! #ad #sponsored"
Set
commercialContent: true
and
brandedContent: true
for paid partnerships.
将此赞助视频发布到TikTok并进行适当披露:
"爱上@brand的这款新产品!#ad #sponsored"
对于付费合作,需设置
commercialContent: true
brandedContent: true

Scheduled Post

调度发布

Schedule this TikTok video for tomorrow at 6 PM:
"Weekend vibes incoming! #weekend #fun"
将此TikTok视频调度至明天下午6点发布:
"周末氛围来袭!#weekend #fun"

Supported Video Formats

支持的视频格式

FormatRecommendedNotes
MP4YesMost reliable
MOVYesApple format
WebMYesWeb format
AVIAccepted by PubloraMay be rejected by TikTok
MKVAccepted by PubloraMay be rejected by TikTok
Recommendation: Use MP4 for best compatibility.
格式推荐使用说明
MP4兼容性最佳
MOVApple格式
WebM网页格式
AVIPublora支持可能被TikTok拒绝
MKVPublora支持可能被TikTok拒绝
推荐: 使用MP4格式以获得最佳兼容性。

Best Practices

最佳实践

Content

内容层面

  1. Hook in first 3 seconds: Grab attention immediately
  2. Optimal length: 15-60 seconds for best engagement
  3. Trending sounds: Use trending audio when possible
  4. Hashtag strategy: 3-5 relevant hashtags
  1. 前3秒抓住眼球:立即吸引观众注意力
  2. 最佳时长:15-60秒以获得最佳互动效果
  3. 热门音效:尽可能使用热门音频
  4. 话题标签策略:3-5个相关话题标签

Technical

技术层面

  1. Vertical video: 9:16 aspect ratio performs best
  2. High quality: At least 720p resolution
  3. 23+ FPS: Ensure smooth playback
  4. MP4 format: Most reliable format
  1. 竖屏视频:9:16比例表现最佳
  2. 高质量:至少720p分辨率
  3. 23+ FPS:确保播放流畅
  4. MP4格式:兼容性最佳的格式

Timing

发布时机

  • Best times: 7-9 AM, 12-3 PM, 7-11 PM in target timezone
  • Frequency: 1-3 posts per day for growth
  • Consistency: Regular posting schedule helps algorithm
  • 最佳时段:目标时区的7-9点、12-15点、19-23点
  • 发布频率:每日1-3次以促进增长
  • 一致性:规律的发布计划有助于算法推荐

Troubleshooting

故障排除

ErrorCauseSolution
unaudited_client_can_only_post_to_private_accounts
App not approvedSubmit app for TikTok review or use
SELF_ONLY
spam_risk_too_many_posts
Daily limit reachedWait 24 hours
duration_check_failed
Video too long/shortEnsure 3 seconds to 10 minutes
file_format_check_failed
Wrong video formatUse MP4, MOV, or WebM
"23 FPS required"Low frame rateRe-encode video at 23+ FPS
"TikTok requires selecting who can view"Missing viewerSettingAlways include
viewerSetting
in platformSettings
错误信息原因解决方案
unaudited_client_can_only_post_to_private_accounts
应用未通过审核提交应用进行TikTok审核,或使用
SELF_ONLY
设置
spam_risk_too_many_posts
达到每日发布限制等待24小时
duration_check_failed
视频时长过长/过短确保时长在3秒至10分钟之间
file_format_check_failed
视频格式错误使用MP4、MOV或WebM格式
"23 FPS required"帧率过低将视频重新编码为23+ FPS
"TikTok requires selecting who can view"缺少观看者设置在platformSettings中始终包含
viewerSetting