linkedin-post

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

LinkedIn 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

快速开始

  1. Create account at publora.com/register (free)
  2. Connect LinkedIn 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. Publora控制台通过OAuth关联LinkedIn账户
  3. publora.com/settings/api获取API密钥
  4. 在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/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": ["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" }'

**平台ID格式:** `linkedin-{id}`,其中`{id}`来自`/platform-connections`接口的返回结果。

示例ID:`linkedin-Tz9W5i6ZYG`, `linkedin-abc123xyz`

📖 **完整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

平台限制

FeatureLimit
Characters3,000 max
Visible before "see more"First 210 characters
ImagesUp to 10 (grid layout, not swipeable carousel)
Image size5 MB max
Image formatsJPEG, PNG, GIF, WebP (WebP auto-converted)
Video duration30 minutes
Video size500 MB max
Video formatMP4 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:
  • platforms
    : Array including your LinkedIn connection ID (e.g.,
    ["linkedin-abc123"]
    )
  • content
    : Post text (up to 3,000 characters)
  • scheduledTime
    : ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)
创建新的LinkedIn帖子或调度至稍后发布。
参数:
  • platforms
    : 包含你的LinkedIn关联ID的数组(例如:
    ["linkedin-abc123"]
  • content
    : 帖子文字(最多3,000字符)
  • scheduledTime
    : ISO 8601格式的日期时间(必填 - 若要立即发布,使用当前时间 + 1分钟)

get_upload_url

get_upload_url

Get a presigned URL to upload media.
Parameters:
  • postGroupId
    : The post ID to attach media to
  • fileName
    : File name (e.g., "chart.png")
  • contentType
    : MIME type (e.g., "image/jpeg", "video/mp4", "application/pdf")
  • type
    : "image" or "video"
获取用于上传媒体的预签名URL。
参数:
  • postGroupId
    : 要附加媒体的帖子ID
  • fileName
    : 文件名(例如:"chart.png")
  • contentType
    : MIME类型(例如:"image/jpeg", "video/mp4", "application/pdf")
  • type
    : "image" 或 "video"

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 company
Example:
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限制

  1. No organic carousels: Swipeable multi-image carousels are NOT available via API (only for sponsored content). Multi-image posts appear as a grid layout.
  2. No mixed media: Cannot combine images with videos or documents in the same post.
  3. No rich text: LinkedIn API does not support bold, italic, or other formatting. Use plain text or Unicode characters for emphasis.
  4. PDF alternative for carousels: To share multi-page swipeable content, upload a PDF document instead.
  1. 无原生轮播: 可滑动的多图轮播无法通过API实现(仅支持推广内容)。多图帖子将以网格布局展示。
  2. 不可混合媒体: 同一帖子中不能同时包含图片与视频或文档。
  3. 无富文本: LinkedIn API不支持加粗、斜体或其他格式。使用纯文本或Unicode字符进行强调。
  4. 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

最佳实践

  1. First line matters: First 210 characters appear before "see more" - make them compelling
  2. Optimal length: Posts under 1,300 characters tend to perform better
  3. Posting times: Tuesday-Thursday, 8-10 AM in your audience's timezone
  4. Hashtags: Use 3-5 relevant hashtags - they're supported as plain text
  5. Engagement: End with a question to encourage comments
  1. 首行至关重要: 前210字符会显示在“查看更多”之前——务必使其具有吸引力
  2. 最优长度: 少于1,300字符的帖子通常表现更佳
  3. 发布时间: 受众时区的周二至周四上午8-10点
  4. 话题标签: 使用3-5个相关话题标签——支持以纯文本形式添加
  5. 互动性: 以问题结尾,鼓励评论

Troubleshooting

故障排除

ErrorCauseSolution
"Account not connected"LinkedIn OAuth expiredReconnect in Publora dashboard
"MEDIA_ASSET_PROCESSING_FAILED"File too large or wrong formatCheck: images < 5 MB, videos < 500 MB MP4
"Rate limited" (429)Too many API callsWait and retry with backoff
"Cannot mix media types"Images + video in same postUse only one media type per post
MCP unavailableServer issueUse 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备选方案(见上文)