tiktok-post
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTikTok 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
入门步骤
- Create account at publora.com/register (free)
- Connect TikTok via OAuth in Publora Dashboard
- Get API key at publora.com/settings/api
- 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"
}
}
}
}- 创建账户:访问publora.com/register(免费)
- 连接TikTok:在Publora控制台中通过OAuth完成连接
- 获取API密钥:访问publora.com/settings/api
- 配置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/v1Authentication: Use header (NOT ):
x-publora-keyAuthorization: Bearerbash
undefined若MCP服务器不可用或返回错误,可直接使用REST API:
基础URL:
https://api.publora.com/api/v1身份验证: 使用请求头(请勿使用):
x-publora-keyAuthorization: Bearerbash
undefinedGet your connected platforms
获取已连接的平台
curl -X GET "https://api.publora.com/api/v1/platform-connections"
-H "x-publora-key: sk_your_api_key"
-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"
-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 } } }'
-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 } } }'
-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
套餐限制
| Plan | Posts/month | Price |
|---|---|---|
| Starter | 15 | Free |
| Pro | 100/account | $2.99/account/month |
| Premium | 500/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
视频要求
| Specification | API Limit | Native App |
|---|---|---|
| Max duration | 10 minutes | 60 minutes |
| Min duration | 3 seconds | 3 seconds |
| Max file size | 4 GB | 4 GB |
| Min frame rate | 23 FPS | 23 FPS |
| Formats | MP4, MOV, WebM | MP4, MOV, WebM |
| 规格 | API限制 | 原生应用 |
|---|---|---|
| 最长时长 | 10分钟 | 60分钟 |
| 最短时长 | 3秒 | 3秒 |
| 最大文件大小 | 4GB | 4GB |
| 最低帧率 | 23 FPS | 23 FPS |
| 格式 | MP4、MOV、WebM | MP4、MOV、WebM |
Caption Limits
标题限制
| Element | API Limit | Native App |
|---|---|---|
| Caption length | 2,200 characters | 4,000 characters |
| Hashtags | Included in caption count | Included in caption count |
| 元素 | API限制 | 原生应用 |
|---|---|---|
| 标题长度 | 2200字符 | 4000字符 |
| 话题标签 | 计入标题字符数 | 计入标题字符数 |
Rate Limits
速率限制
| Limit | Value |
|---|---|
| Posts per day | 15-20 |
| Videos per minute | Max 2 |
| 限制项 | 数值 |
|---|---|
| 每日帖子数量 | 15-20 |
| 每分钟视频数量 | 最多2个 |
Available Tools
可用工具
create_post
create_post
Create a new TikTok post.
Parameters:
- : Array with your TikTok connection ID (e.g.,
platforms)["tiktok-99887766"] - : Video caption (up to 2,200 characters)
content - : ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)
scheduledTime
创建新的TikTok帖子。
参数:
- : 包含TikTok连接ID的数组(例如:
platforms)["tiktok-99887766"] - : 视频标题(最多2200字符)
content - : ISO 8601格式的日期时间(必填 - 若需立即发布,使用当前时间+1分钟)
scheduledTime
get_upload_url
get_upload_url
Get presigned URL for video upload.
Parameters:
- : Post ID to attach video to
postGroupId - : Video file name (e.g., "video.mp4")
fileName - :
contentType,video/mp4, orvideo/quicktimevideo/webm - :
type"video"
获取用于视频上传的预签名URL。
参数:
- : 要关联视频的帖子ID
postGroupId - : 视频文件名(例如:"video.mp4")
fileName - :
contentType,video/mp4, 或video/quicktimevideo/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 :
platformSettingsjson
{
"platformSettings": {
"tiktok": {
"viewerSetting": "PUBLIC_TO_EVERYONE",
"allowComments": true,
"allowDuet": false,
"allowStitch": false,
"commercialContent": false,
"brandOrganic": false,
"brandedContent": false
}
}
}TikTok有7项特定平台设置,可通过进行控制:
platformSettingsjson
{
"platformSettings": {
"tiktok": {
"viewerSetting": "PUBLIC_TO_EVERYONE",
"allowComments": true,
"allowDuet": false,
"allowStitch": false,
"commercialContent": false,
"brandOrganic": false,
"brandedContent": false
}
}
}Viewer Settings (Required)
观看者设置(必填)
| Value | Description |
|---|---|
| Anyone can view (default) |
| Only mutual followers |
| Only your followers |
| Only you (draft-like) |
| 值 | 描述 |
|---|---|
| 所有人可查看(默认) |
| 仅互相关注的好友 |
| 仅你的粉丝 |
| 仅自己可见(类似草稿) |
Interaction Settings
互动设置
| Setting | Default | Description |
|---|---|---|
| | Whether viewers can comment |
| | Whether viewers can create Duets |
| | Whether viewers can Stitch |
| 设置项 | 默认值 | 描述 |
|---|---|---|
| | 是否允许观众评论 |
| | 是否允许观众创建合拍视频 |
| | 是否允许观众创建拼接视频 |
Commercial Content Settings
商业内容设置
| Setting | Default | Description |
|---|---|---|
| | Is this commercial content? |
| | Organic brand promotion |
| | Paid partnership/sponsored |
Note: If is , at least one of or must also be .
commercialContenttruebrandOrganicbrandedContenttrueNote: is not available via MCP - use REST API for these settings.
platformSettings| 设置项 | 默认值 | 描述 |
|---|---|---|
| | 是否为商业内容? |
| | 品牌自然推广 |
| | 付费合作/赞助内容 |
注意: 若设为,则或中至少有一个需设为。
commercialContenttruebrandOrganicbrandedContenttrue注意:无法通过MCP使用 - 需使用REST API进行这些设置。
platformSettingsCritical 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 (). All other values will be overridden to .
SELF_ONLYviewerSettingSELF_ONLYTo post public videos, your app must be audited by TikTok.
重要提醒: 若你的TikTok应用未通过TikTok审核流程,你仅能发布私密视频()。所有其他值将被强制覆盖为。
SELF_ONLYviewerSettingSELF_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 for testing before making public.
viewerSetting: "SELF_ONLY"将此视频作为私密草稿上传到TikTok(仅我可见):
"测试新内容格式"测试阶段可使用,之后再设为公开。
viewerSetting: "SELF_ONLY"Branded Content
品牌合作内容
Post this sponsored video to TikTok with proper disclosure:
"Loving this new product from @brand! #ad #sponsored"Set and for paid partnerships.
commercialContent: truebrandedContent: true将此赞助视频发布到TikTok并进行适当披露:
"爱上@brand的这款新产品!#ad #sponsored"对于付费合作,需设置和。
commercialContent: truebrandedContent: trueScheduled Post
调度发布
Schedule this TikTok video for tomorrow at 6 PM:
"Weekend vibes incoming! #weekend #fun"将此TikTok视频调度至明天下午6点发布:
"周末氛围来袭!#weekend #fun"Supported Video Formats
支持的视频格式
| Format | Recommended | Notes |
|---|---|---|
| MP4 | Yes | Most reliable |
| MOV | Yes | Apple format |
| WebM | Yes | Web format |
| AVI | Accepted by Publora | May be rejected by TikTok |
| MKV | Accepted by Publora | May be rejected by TikTok |
Recommendation: Use MP4 for best compatibility.
| 格式 | 推荐使用 | 说明 |
|---|---|---|
| MP4 | 是 | 兼容性最佳 |
| MOV | 是 | Apple格式 |
| WebM | 是 | 网页格式 |
| AVI | Publora支持 | 可能被TikTok拒绝 |
| MKV | Publora支持 | 可能被TikTok拒绝 |
推荐: 使用MP4格式以获得最佳兼容性。
Best Practices
最佳实践
Content
内容层面
- Hook in first 3 seconds: Grab attention immediately
- Optimal length: 15-60 seconds for best engagement
- Trending sounds: Use trending audio when possible
- Hashtag strategy: 3-5 relevant hashtags
- 前3秒抓住眼球:立即吸引观众注意力
- 最佳时长:15-60秒以获得最佳互动效果
- 热门音效:尽可能使用热门音频
- 话题标签策略:3-5个相关话题标签
Technical
技术层面
- Vertical video: 9:16 aspect ratio performs best
- High quality: At least 720p resolution
- 23+ FPS: Ensure smooth playback
- MP4 format: Most reliable format
- 竖屏视频:9:16比例表现最佳
- 高质量:至少720p分辨率
- 23+ FPS:确保播放流畅
- 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
故障排除
| Error | Cause | Solution |
|---|---|---|
| App not approved | Submit app for TikTok review or use |
| Daily limit reached | Wait 24 hours |
| Video too long/short | Ensure 3 seconds to 10 minutes |
| Wrong video format | Use MP4, MOV, or WebM |
| "23 FPS required" | Low frame rate | Re-encode video at 23+ FPS |
| "TikTok requires selecting who can view" | Missing viewerSetting | Always include |
| 错误信息 | 原因 | 解决方案 |
|---|---|---|
| 应用未通过审核 | 提交应用进行TikTok审核,或使用 |
| 达到每日发布限制 | 等待24小时 |
| 视频时长过长/过短 | 确保时长在3秒至10分钟之间 |
| 视频格式错误 | 使用MP4、MOV或WebM格式 |
| "23 FPS required" | 帧率过低 | 将视频重新编码为23+ FPS |
| "TikTok requires selecting who can view" | 缺少观看者设置 | 在platformSettings中始终包含 |