微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Publora Linkedin

Publora Linkedin · v1.0.0
安全 unknown 级 作者 sergebulaev 公开目录收录
下载 1.3k 安装 1 收藏 4.9k 浏览 1
原始页面

简介

Publora Linkedin

原始描述

Post or schedule content to LinkedIn using the Publora API. Use this skill when the user wants to publish or schedule LinkedIn posts, retrieve analytics (imp...

技能正文


name: publora-linkedin description: > Post or schedule content to LinkedIn using the Publora API. Use this skill when the user wants to publish, schedule, or draft a LinkedIn post via Publora.

Publora — LinkedIn

Post and schedule LinkedIn content via the Publora API.

Prerequisite: Install the publora core skill for auth setup and getting platform IDs.

Get Your LinkedIn Platform ID

GET https://api.publora.com/api/v1/platform-connections
# Look for entries with "linkedin" in the id, e.g. "linkedin-ABC123"

Post to LinkedIn Immediately

await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Excited to share our latest update! 🚀\n\nWe just launched...',
    platforms: ['linkedin-ABC123']
  })
});

Schedule a LinkedIn Post

await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Monday thought: consistency beats perfection every time. 💡',
    platforms: ['linkedin-ABC123'],
    scheduledTime: '2026-03-16T09:00:00.000Z'
  })
});
// Response: { postGroupId: "pg_abc123", scheduledTime: "..." }

LinkedIn + Image

import requests

HEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }

# Step 1: Create post
post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
    'content': 'Our team at the conference! Great connections made today.',
    'platforms': ['linkedin-ABC123'],
    'scheduledTime': '2026-03-16T09:00:00.000Z'
}).json()

# Step 2: Get upload URL
upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
    'fileName': 'team-photo.jpg', 'contentType': 'image/jpeg',
    'type': 'image', 'postGroupId': post['postGroupId']
}).json()

# Step 3: Upload to S3
with open('team-photo.jpg', 'rb') as f:
    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)

Tips for LinkedIn

  • Best times: Tuesday–Thursday, 8–10 AM or 12 PM in your audience's timezone
  • Optimal length: 1,300–2,000 characters for thought leadership posts
  • Line breaks matter: LinkedIn shows ~3 lines before "see more" — hook early
  • Markdown: LinkedIn doesn't render markdown; avoid **bold** syntax in content
  • Hashtags: 3–5 relevant hashtags at the end perform best

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

没有标签

同类 Skill