linkedin-post
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLinkedIn Post
LinkedIn帖子
Create and schedule LinkedIn posts using the Publora MCP server. Supports text posts, single images, multi-image posts (grid layout), videos, and PDF documents.
通过Publora MCP服务器创建并调度LinkedIn帖子。支持文字帖子、单张图片、多图帖子(网格布局)、视频和PDF文档。
Prerequisites
前提条件
Plans: Starter (free), Pro, Premium - LinkedIn is available on all plans including free.
**套餐:**入门版(免费)、专业版、高级版 - 所有套餐(包括免费版)均支持LinkedIn功能。
Getting Started
快速开始
- Create account at publora.com/register (free)
- Connect LinkedIn 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创建账户(免费)
- 在Publora控制台通过OAuth关联LinkedIn账户
- 在publora.com/settings/api获取API密钥
- 在Claude Desktop中配置MCP():
~/.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": ["linkedin-Tz9W5i6ZYG"], "content": "Your post content here", "scheduledTime": "2026-03-25T10:00:00Z" }'
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["linkedin-Tz9W5i6ZYG"], "content": "Your post content here", "scheduledTime": "2026-03-25T10:00:00Z" }'
**Platform ID Format:** `linkedin-{id}` where `{id}` is from `/platform-connections` response.
Example IDs: `linkedin-Tz9W5i6ZYG`, `linkedin-abc123xyz`
📖 **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": ["linkedin-Tz9W5i6ZYG"], "content": "Your post content here", "scheduledTime": "2026-03-25T10:00:00Z" }'
-H "x-publora-key: sk_your_api_key"
-H "Content-Type: application/json"
-d '{ "platforms": ["linkedin-Tz9W5i6ZYG"], "content": "Your post content here", "scheduledTime": "2026-03-25T10:00:00Z" }'
**平台ID格式:** `linkedin-{id}`,其中`{id}`来自`/platform-connections`接口的返回结果。
示例ID:`linkedin-Tz9W5i6ZYG`, `linkedin-abc123xyz`
📖 **完整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
平台限制
| Feature | Limit |
|---|---|
| Characters | 3,000 max |
| Visible before "see more" | First 210 characters |
| Images | Up to 10 (grid layout, not swipeable carousel) |
| Image size | 5 MB max |
| Image formats | JPEG, PNG, GIF, WebP (WebP auto-converted) |
| Video duration | 30 minutes |
| Video size | 500 MB max |
| Video format | MP4 only |
| 功能 | 限制 |
|---|---|
| 字符数 | 最多3,000字符 |
| "查看更多"前可见内容 | 前210字符 |
| 图片数量 | 最多10张(网格布局,不可滑动轮播) |
| 图片大小 | 最大5 MB |
| 图片格式 | JPEG、PNG、GIF、WebP(WebP会自动转换) |
| 视频时长 | 30分钟 |
| 视频大小 | 最大500 MB |
| 视频格式 | 仅支持MP4 |
Available Tools
可用工具
create_post
create_post
Create a new LinkedIn post or schedule for later.
Parameters:
- : Array including your LinkedIn connection ID (e.g.,
platforms)["linkedin-abc123"] - : Post text (up to 3,000 characters)
content - : ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)
scheduledTime
创建新的LinkedIn帖子或调度至稍后发布。
参数:
- : 包含你的LinkedIn关联ID的数组(例如:
platforms)["linkedin-abc123"] - : 帖子文字(最多3,000字符)
content - : ISO 8601格式的日期时间(必填 - 若要立即发布,使用当前时间 + 1分钟)
scheduledTime
get_upload_url
get_upload_url
Get a presigned URL to upload media.
Parameters:
- : The post ID to attach media to
postGroupId - : File name (e.g., "chart.png")
fileName - : MIME type (e.g., "image/jpeg", "video/mp4", "application/pdf")
contentType - : "image" or "video"
type
获取用于上传媒体的预签名URL。
参数:
- : 要附加媒体的帖子ID
postGroupId - : 文件名(例如:"chart.png")
fileName - : MIME类型(例如:"image/jpeg", "video/mp4", "application/pdf")
contentType - : "image" 或 "video"
type
list_posts / update_post / delete_post
list_posts / update_post / delete_post
Manage your scheduled and draft posts.
管理已调度和草稿状态的帖子。
Mentioning People and Companies
提及个人与企业
LinkedIn posts support @mentions using URN syntax:
@{urn:li:person:MEMBER_ID|Display Name} # Mention a person
@{urn:li:organization:ORG_ID|Company Name} # Mention a companyExample:
Great insights from @{urn:li:person:4986615|Serge Bulaev} at @{urn:li:organization:107107343|Creative Content Crafts Inc}!Important: The display name must exactly match the LinkedIn profile name (case-sensitive), including company suffixes like "Inc", "LLC", etc.
LinkedIn帖子支持使用URN语法进行@提及:
@{urn:li:person:MEMBER_ID|Display Name} # 提及个人
@{urn:li:organization:ORG_ID|Company Name} # 提及企业示例:
感谢@{urn:li:person:4986615|Serge Bulaev}在@{urn:li:organization:107107343|Creative Content Crafts Inc}分享的精彩见解!重要说明: 显示名称必须与LinkedIn个人资料名称完全匹配(区分大小写),包括企业后缀如"Inc", "LLC"等。
Important API Restrictions
重要API限制
-
No organic carousels: Swipeable multi-image carousels are NOT available via API (only for sponsored content). Multi-image posts appear as a grid layout.
-
No mixed media: Cannot combine images with videos or documents in the same post.
-
No rich text: LinkedIn API does not support bold, italic, or other formatting. Use plain text or Unicode characters for emphasis.
-
PDF alternative for carousels: To share multi-page swipeable content, upload a PDF document instead.
-
无原生轮播: 可滑动的多图轮播无法通过API实现(仅支持推广内容)。多图帖子将以网格布局展示。
-
不可混合媒体: 同一帖子中不能同时包含图片与视频或文档。
-
无富文本: LinkedIn API不支持加粗、斜体或其他格式。使用纯文本或Unicode字符进行强调。
-
PDF替代轮播: 如需分享多页可滑动内容,可上传PDF文档替代。
Examples
示例
Simple Text Post
简单文字帖子
Schedule a LinkedIn post for tomorrow at 9 AM:
"We're thrilled to announce the release of our AI writing assistant. After 18 months of development, we're ready to help teams write better content faster."调度一条LinkedIn帖子至明天上午9点发布:
"我们很高兴宣布AI写作助手正式发布。经过18个月的开发,我们已准备好帮助团队更快地创作优质内容。"Post with Mention
包含提及的帖子
Create a LinkedIn post mentioning our CEO:
"Excited to share insights from @{urn:li:person:4986615|Serge Bulaev} on the future of AI in content creation."创建一条提及我们CEO的LinkedIn帖子:
"很高兴分享@{urn:li:person:4986615|Serge Bulaev}关于AI在内容创作领域未来发展的见解。"Multi-Image Post
多图帖子
Create a LinkedIn post with 4 product screenshots showing our new dashboard features.Note: Images will appear in a grid layout, not as a swipeable carousel.
创建一条包含4张产品截图的LinkedIn帖子,展示我们的新仪表盘功能。注意:图片将以网格布局展示,而非可滑动轮播。
PDF Document Post
PDF文档帖子
Share our Q4 report as a PDF on LinkedIn with a summary caption.This is the best way to share multi-page carousel-like content.
在LinkedIn上分享我们的第四季度报告PDF,并附上摘要说明。这是分享多页类轮播内容的最佳方式。
Best Practices
最佳实践
- First line matters: First 210 characters appear before "see more" - make them compelling
- Optimal length: Posts under 1,300 characters tend to perform better
- Posting times: Tuesday-Thursday, 8-10 AM in your audience's timezone
- Hashtags: Use 3-5 relevant hashtags - they're supported as plain text
- Engagement: End with a question to encourage comments
- 首行至关重要: 前210字符会显示在“查看更多”之前——务必使其具有吸引力
- 最优长度: 少于1,300字符的帖子通常表现更佳
- 发布时间: 受众时区的周二至周四上午8-10点
- 话题标签: 使用3-5个相关话题标签——支持以纯文本形式添加
- 互动性: 以问题结尾,鼓励评论
Troubleshooting
故障排除
| Error | Cause | Solution |
|---|---|---|
| "Account not connected" | LinkedIn OAuth expired | Reconnect in Publora dashboard |
| "MEDIA_ASSET_PROCESSING_FAILED" | File too large or wrong format | Check: images < 5 MB, videos < 500 MB MP4 |
| "Rate limited" (429) | Too many API calls | Wait and retry with backoff |
| "Cannot mix media types" | Images + video in same post | Use only one media type per post |
| MCP unavailable | Server issue | Use REST API fallback (see above) |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| "Account not connected" | LinkedIn OAuth已过期 | 在Publora控制台重新关联账户 |
| "MEDIA_ASSET_PROCESSING_FAILED" | 文件过大或格式错误 | 检查:图片 < 5 MB,视频 < 500 MB且为MP4格式 |
| "Rate limited" (429) | API调用过于频繁 | 等待后重试,使用退避策略 |
| "Cannot mix media types" | 同一帖子中混合了图片与视频 | 每个帖子仅使用一种媒体类型 |
| MCP不可用 | 服务器问题 | 使用REST API备选方案(见上文) |