← 返回
未分类 Key 中文

OpenClaw LinkedIn Poster Skill

Post updates to the user's LinkedIn profile via OAuth.
通过 OAuth 将动态发布到用户的 LinkedIn 个人资料。
krnbwj
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 251
下载
💾 0
安装
1
版本
#latest#latest linkedin post organization automated

概述

LinkedIn Poster

Post text updates to your LinkedIn profile directly from OpenClaw.

Features

  • OAuth 2.0 authentication (one-time setup)
  • Automatic token management (60-day expiry)
  • Works via command line or WhatsApp
  • Production-ready callback server

Setup

1. LinkedIn App Configuration

  1. Create a LinkedIn app at LinkedIn Developers
  2. Add redirect URL: https://linkedin-oauth-server-production.up.railway.app/callback
  3. Request access to "Share on LinkedIn" and "Sign In with LinkedIn" products
  4. Copy your Client ID and Client Secret

2. Environment Variables

Add to your openclaw.json:

{
  "plugins": {
    "env": {
      "LINKEDIN_CLIENT_ID": "your_client_id",
      "LINKEDIN_CLIENT_SECRET": "your_client_secret"
    }
  }
}

3. First Run Authorization

The first time you use the skill, it will:

  1. Open a browser for LinkedIn authorization
  2. Save the access token locally
  3. Use the saved token for future posts

Usage

Via WhatsApp

Send a message to OpenClaw:

post to linkedin: Just shipped a new feature! 🚀

Or:

share on linkedin: Excited to announce our new product launch!

Via Command Line

node skills/linkedin-poster/runner.cjs "Your message here"

Posting to a Company Page

To post to a LinkedIn Company Page where you are an admin:

node skills/linkedin-poster/runner.cjs "Company update!" --org "My Company Name"

The skill will fuzzy search your administered organizations and post to the best match.

Note: You must have the w_organization_social permission (Marketing API/Company Page Management) enabled in your LinkedIn App settings for this to work.

How It Works

  1. First use: Opens browser → Authorize → Token saved
  2. Subsequent uses: Uses saved token → Posts immediately
  3. Token expiry: Auto-prompts for re-authorization after 60 days

OAuth Callback Server

This skill uses a hosted callback server at:

https://linkedin-oauth-server-production.up.railway.app

The server handles OAuth callbacks securely and works for anyone using the skill.

Troubleshooting

"redirect_uri does not match"

Ensure https://linkedin-oauth-server-production.up.railway.app/callback is added to your LinkedIn app's Redirect URLs.

"Authorization timeout"

The skill waits 60 seconds. Try again and authorize faster.

"Token expired"

Run the skill again - it will automatically start a new OAuth flow.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 05:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,351 📥 317,804
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,874
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,211 📥 266,254