ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

weibo-publisher

Publish posts to Weibo (Sina Weibo) using browser automation. Use when the user wants to post content to Weibo, share updates on Weibo, publish microblogs, or automate Weibo posting. Supports text posts with emoji, hashtags, and mentions. No API key required - uses browser automation with managed browser profile.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/azfliao/weibo-publisher
Or

Weibo Publisher

Automate posting to Weibo (Sina Weibo) using browser automation through OpenClaw's managed browser.

Prerequisites

  • Weibo account must be logged in via managed browser (profile="openclaw")
  • Browser must have active session with valid cookies

Quick Start

Basic Post

# 1. Prepare content with Unicode escape (for Chinese text)
content = "刚刚解决了一个技术难题!💪"
escaped_content = content.encode('unicode_escape').decode('ascii')

# 2. Navigate to Weibo homepage
browser(action="navigate", targetUrl="https://weibo.com/", targetId=<tab_id>)

# 3. Get page snapshot to find elements
browser(action="snapshot", targetId=<tab_id>)

# 4. Click the post textbox (ref from snapshot, usually e31 or e136)
browser(action="act", request={"kind": "click", "ref": "e31"}, targetId=<tab_id>)

# 5. Type content with Unicode escape
browser(action="act", request={"kind": "type", "ref": "e31", "text": escaped_content}, targetId=<tab_id>)

# 6. Get fresh snapshot to find send button
browser(action="snapshot", targetId=<tab_id>)

# 7. Click send button (ref from snapshot, usually e32 or e194)
browser(action="act", request={"kind": "click", "ref": "e32"}, targetId=<tab_id>)

# 8. Wait and verify by navigating to profile
sleep(3)
browser(action="navigate", targetUrl="https://weibo.com/u/<your_uid>", targetId=<tab_id>)
browser(action="snapshot", targetId=<tab_id>)

Element References

Common element references on Weibo homepage (as of 2026-03-02):

  • Main post textbox: e31 (placeholder: "有什么新鲜事想分享给大家?")
  • Send button: e32 (text: "发送", becomes enabled after typing)
  • Quick post button (top nav): e10 (text: "发微博")
  • Quick post textbox (popup): e746 (when using quick post popup)
  • Quick post send button: e804

Important Notes:

  • Element references change frequently between sessions
  • Always take a fresh snapshot before each operation
  • Refs may differ between homepage (/) and profile page (/u/<uid>)
  • Send button is disabled until content is entered

Content Features

Supported Content Types

  1. Plain text: Direct text input
  2. Emoji: Include emoji directly in text (e.g., "😊🎉")
  3. Hashtags: Use #topic# format (e.g., "#微博话题#")
  4. Mentions: Use @username format
  5. Line breaks: Use \n in text

Content Limits

  • Maximum length: ~2000 characters (Weibo's limit)
  • Recommended length: 140-280 characters for better engagement

Workflows

Workflow 1: Simple Post

Use the main homepage textbox for quick posts:

  1. Open https://weibo.com/
  2. Snapshot to get element refs
  3. Click textbox (e136)
  4. Type content
  5. Click send (e194)
  6. Verify success

Workflow 2: Quick Post (Popup)

Use the "发微博" button for popup posting:

  1. Open https://weibo.com/
  2. Click "发微博" button (usually e75)
  3. Snapshot to get popup element refs
  4. Type in popup textbox (e1028)
  5. Click popup send button (e1086)
  6. Verify success

Workflow 3: Scheduled Post

Metadata

Author@azfliao
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-azfliao-weibo-publisher": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.