social-post
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSocial Post (YouTube, Facebook, Mastodon)
社交媒体发布(YouTube、Facebook Pages、Mastodon)
Create and schedule posts to YouTube, Facebook Pages, and Mastodon using the Publora MCP server. This skill covers platforms that work through standard posting without platform-specific complexity.
使用Publora MCP服务器创建并排期发布至YouTube、Facebook Pages和Mastodon的内容。该技能覆盖无需平台特定复杂操作的标准发布流程。
Prerequisites
前提条件
Plans: Free Starter (15 posts/month), Pro, Premium
套餐方案: 免费入门版(每月15条帖子)、专业版、高级版
Getting Started
快速开始
- Create account at publora.com/register (free)
- Connect platforms via OAuth in Publora Dashboard:
- YouTube: Google OAuth (requires YouTube channel)
- Facebook: Facebook OAuth (Pages only, not personal profiles)
- Mastodon: OAuth (mastodon.social instance)
- 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(免费)
- 关联平台:在Publora控制台通过OAuth关联:
- YouTube:Google OAuth(需拥有YouTube频道)
- Facebook:Facebook OAuth(仅支持Pages,不支持个人主页)
- Mastodon:OAuth(仅支持mastodon.social实例)
- 获取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 MCP is unavailable, use the REST API directly:
Base URL:
https://api.publora.com/api/v1Authentication: header
x-publora-keybash
undefined若MCP不可用,可直接使用REST API:
基础URL:
https://api.publora.com/api/v1认证方式: 请求头
x-publora-keybash
undefinedGet 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": ["youtube-UCxxx", "facebook-123456", "mastodon-789"], "content": "Your post content", "scheduledTime": "2026-03-25T10:00:00Z" }'
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["youtube-UCxxx", "facebook-123456", "mastodon-789"], "content": "Your post content", "scheduledTime": "2026-03-25T10:00:00Z" }'
**Platform ID Formats:**
- YouTube: `youtube-{channel_id}` (e.g., `youtube-UCxxx`)
- Facebook: `facebook-{page_id}` (e.g., `facebook-112233445566`)
- Mastodon: `mastodon-{id}` (e.g., `mastodon-456`)
📖 **Docs:** [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": ["youtube-UCxxx", "facebook-123456", "mastodon-789"], "content": "Your post content", "scheduledTime": "2026-03-25T10:00:00Z" }'
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["youtube-UCxxx", "facebook-123456", "mastodon-789"], "content": "Your post content", "scheduledTime": "2026-03-25T10:00:00Z" }'
**平台ID格式:**
- YouTube:`youtube-{channel_id}`(示例:`youtube-UCxxx`)
- Facebook:`facebook-{page_id}`(示例:`facebook-112233445566`)
- Mastodon:`mastodon-{id}`(示例:`mastodon-456`)
📖 **文档:** [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/账号/月 |
YouTube
YouTube
Video-only platform - every post requires a video file.
仅支持视频的平台 - 每条帖子必须包含视频文件。
Platform Limits
平台限制
| Feature | Limit |
|---|---|
| Video title | 100 characters |
| Video description | 5,000 characters |
| Video duration | 12 hours |
| Video size | 512 MB (Publora limit) |
| Video formats | MP4, MOV, AVI, MKV, WebM |
| 功能 | 限制 |
|---|---|
| 视频标题 | 100字符 |
| 视频描述 | 5000字符 |
| 视频时长 | 12小时 |
| 视频大小 | 512 MB(Publora限制) |
| 视频格式 | MP4、MOV、AVI、MKV、WebM |
Platform Settings (via REST API)
平台设置(通过REST API)
json
{
"platformSettings": {
"youtube": {
"privacy": "public",
"title": "My Video Title"
}
}
}| Setting | Values | Default |
|---|---|---|
| | |
| string | Derived from first 70 chars of content |
Note: is not available via MCP - use REST API for these settings.
platformSettingsjson
{
"platformSettings": {
"youtube": {
"privacy": "public",
"title": "My Video Title"
}
}
}| 设置项 | 可选值 | 默认值 |
|---|---|---|
| | |
| 字符串 | 从内容前70个字符提取 |
注意:无法通过MCP设置 - 需使用REST API配置。
platformSettingsYouTube Examples
YouTube示例
Upload this tutorial video to YouTube:
"How to Build a REST API in 10 Minutes - Complete guide for beginners"Upload this as an unlisted video (for internal sharing):
"Internal demo - Q1 dashboard features"将此教程视频上传至YouTube:
"How to Build a REST API in 10 Minutes - Complete guide for beginners"将此视频设为未公开(用于内部分享):
"Internal demo - Q1 dashboard features"YouTube Restrictions
YouTube限制
- Video required: YouTube does not support text-only or image posts
- Single video only: One video per post
- Processing time: Videos take seconds to minutes to process after upload
- Token refresh: YouTube tokens expire after ~6 months, reconnect if needed
- 必须包含视频:YouTube不支持纯文字或图片帖子
- 单视频限制:每条帖子仅能包含一个视频
- 处理时间:视频上传后需数秒至数分钟处理
- 令牌刷新:YouTube令牌约6个月后过期,需重新关联
Pages only - posts go to Facebook Pages, not personal profiles.
仅支持Pages - 帖子将发布至Facebook Pages,而非个人主页。
Platform Limits
平台限制
| Feature | Limit |
|---|---|
| Post text | 2,200 characters (frontend) / 63,206 (API) |
| Images | Up to 10 per post |
| Image size | 10 MB |
| Video duration | 45 minutes |
| Video size | 512 MB (Publora limit) |
| 功能 | 限制 |
|---|---|
| 帖子文字 | 前端2200字符 / API端63206字符 |
| 图片数量 | 每条帖子最多10张 |
| 单图大小 | 10 MB |
| 视频时长 | 45分钟 |
| 视频大小 | 512 MB(Publora限制) |
Multi-Page Support
多Page支持
If you manage multiple Facebook Pages, each gets its own platform ID:
- (Page 1)
facebook-112233445566 - (Page 2)
facebook-778899001122
You can post to multiple pages in a single request.
若管理多个Facebook Pages,每个Page将拥有独立平台ID:
- (Page 1)
facebook-112233445566 - (Page 2)
facebook-778899001122
可在单次请求中发布至多个Page。
Facebook Examples
Facebook示例
Post this announcement to my Facebook Page:
"We're thrilled to announce our new product launch! Visit our website to learn more."Post this to both my Facebook Pages:
"Holiday notice: Our offices will be closed on Monday."Share these event photos on Facebook:
"Highlights from our company retreat! Great team, great memories."将此公告发布至我的Facebook Page:
"我们激动地宣布新产品上线!访问官网了解更多详情。"将此内容发布至我的两个Facebook Pages:
"假期通知:我们的办公室周一将关闭。"在Facebook上分享这些活动照片:
"公司团建精彩瞬间!很棒的团队,美好的回忆。"Facebook Restrictions
Facebook限制
- Pages only: Cannot post to personal profiles via API
- WebP auto-converted: WebP images become JPEG automatically
- 59-day token: Tokens auto-refresh, but may need reconnection if it fails
- No mixed media: A post can have images OR video, not both
- 仅支持Pages:无法通过API发布至个人主页
- WebP自动转换:WebP图片将自动转为JPEG格式
- 59天令牌:令牌会自动刷新,若刷新失败需重新关联
- 媒体类型限制:帖子仅能包含图片或视频,不可混合
Mastodon
Mastodon
Fediverse platform - posts federate across the decentralized network.
联邦宇宙平台 - 帖子将在去中心化网络中联邦传播。
Platform Limits
平台限制
| Feature | Limit |
|---|---|
| Post text | 500 characters |
| Images | Up to 4 per post |
| Image size | 16 MB |
| Video size | ~99 MB |
| Image formats | JPEG, PNG, GIF, WebP |
| Video formats | MP4, WebM, MOV |
| 功能 | 限制 |
|---|---|
| 帖子文字 | 500字符 |
| 图片数量 | 每条帖子最多4张 |
| 单图大小 | 16 MB |
| 视频大小 | ~99 MB |
| 图片格式 | JPEG、PNG、GIF、WebP |
| 视频格式 | MP4、WebM、MOV |
Mastodon Examples
Mastodon示例
Post this to Mastodon:
"Hello fediverse! We just shipped a major update to our open-source project. #opensource"Share this screenshot on Mastodon:
"New feature: dark mode is here! #ui #darkmode"将此内容发布至Mastodon:
"Hello fediverse! We just shipped a major update to our open-source project. #opensource"在Mastodon上分享这张截图:
"新功能:深色模式已上线!#ui #darkmode"Mastodon Restrictions
Mastodon限制
- mastodon.social only: Currently connects only to mastodon.social instance
- Public visibility: All posts are public by default
- No auto-threading: Unlike X/Twitter, Mastodon doesn't split long content
- 500-char strict: Content over 500 characters will be rejected
- 仅支持mastodon.social:目前仅支持关联mastodon.social实例
- 默认公开可见:所有帖子默认设为公开
- 无自动分帖:与X/Twitter不同,Mastodon不会拆分长内容
- 严格500字符限制:超过500字符的内容将被拒绝
Available Tools (All Platforms)
可用工具(全平台)
create_post
create_post
Create a new post on any platform.
Parameters:
- : Array of platform IDs (e.g.,
platforms)["youtube-UCxxx", "facebook-123", "mastodon-456"] - : Post text
content - : ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)
scheduledTime
在任意平台创建新帖子。
参数:
- :平台ID数组(示例:
platforms)["youtube-UCxxx", "facebook-123", "mastodon-456"] - :帖子文字内容
content - :ISO 8601格式时间(必填 - 若需立即发布,使用当前时间+1分钟)
scheduledTime
get_upload_url
get_upload_url
Get presigned URL for media uploads.
Parameters:
- : Post ID to attach media to
postGroupId - : File name
fileName - : MIME type
contentType - :
typeor"image""video"
获取用于媒体上传的预签名URL。
参数:
- :需关联媒体的帖子ID
postGroupId - :文件名
fileName - :MIME类型
contentType - :
type或"image""video"
list_posts / update_post / delete_post
list_posts / update_post / delete_post
Manage scheduled and draft posts.
管理排期帖子和草稿帖子。
Cross-Platform Posting
跨平台发布
Post to multiple platforms at once:
Post this video to YouTube and this text to Facebook and Mastodon:
"Announcing our new feature - watch the demo!"Publora handles platform-specific requirements automatically:
- YouTube gets the video with title/description
- Facebook gets the text + video
- Mastodon gets the text (500 char limit applies)
同时发布至多个平台:
将此视频发布至YouTube,同时将这段文字发布至Facebook和Mastodon:
"Announcing our new feature - watch the demo!"Publora会自动处理平台特定要求:
- YouTube将获得带标题/描述的视频
- Facebook将获得文字+视频
- Mastodon将获得文字内容(需符合500字符限制)
Troubleshooting
故障排查
| Platform | Error | Solution |
|---|---|---|
| YouTube | "Video required" | Attach a video file |
| YouTube | "Account disconnected" | Reconnect via dashboard |
| "Page not found" | Verify page connection | |
| "Token expired" | Reconnect page in dashboard | |
| Mastodon | "Content too long" | Shorten to under 500 chars |
| Mastodon | "Too many images" | Reduce to 4 or fewer |
| All | Rate limit errors | Wait and retry |
| 平台 | 错误信息 | 解决方案 |
|---|---|---|
| YouTube | "Video required" | 附加视频文件 |
| YouTube | "Account disconnected" | 通过控制台重新关联账号 |
| "Page not found" | 验证Page关联状态 | |
| "Token expired" | 在控制台重新关联Page | |
| Mastodon | "Content too long" | 将内容缩短至500字符以内 |
| Mastodon | "Too many images" | 将图片数量减少至4张或更少 |
| 所有平台 | 速率限制错误 | 等待后重试 |