Skip to content

Chinese Platforms

Detailed setup and usage guides for each Chinese platform.

Juejin (掘金)

AttributeValue
URLhttps://juejin.cn
AuthCookie (PROMOTE_JUEJIN_COOKIE)
APIREST — draft → publish flow
Expiry~1 month

Features:

  • Largest Chinese tech content platform
  • Category-based content organization
  • Rich markdown support
  • Strong community engagement

Tips:

  • Set category_id in metadata for correct channel
  • Draft → publish flow ensures content quality
  • Good for tutorials, project showcases, and tech deep-dives

CSDN

AttributeValue
URLhttps://www.csdn.net
AuthCookie (PROMOTE_CSDN_COOKIE)
APIREST — direct publish
Expiry~1 month

Features:

  • Largest Chinese developer community overall
  • Excellent SEO — content ranks well in Baidu
  • Direct publish flow (no draft step)

Tips:

  • Great for discoverability through search engines
  • Content stays indexed long-term
  • Good for documentation-style articles

Zhihu (知乎)

AttributeValue
URLhttps://www.zhihu.com
AuthCookie (PROMOTE_ZHIHU_COOKIE)
APIREST — publishes to 专栏 (columns)
Expiry~1 month

Features:

  • Knowledge-sharing platform (Q&A + articles)
  • High-quality audience
  • Column (专栏) articles for long-form content

Tips:

  • Best for deep technical content and thought leadership
  • Engage with Q&A for additional visibility
  • Professional tone works best

CNBlogs (博客园)

AttributeValue
URLhttps://www.cnblogs.com
AuthMetaWeblog API (PROMOTE_CNBLOGS_TOKEN)
APIXML-RPC (MetaWeblog standard)
ExpiryLong-lived

Features:

  • Official API — most stable among CN platforms
  • Token-based auth (no cookie expiry issues)
  • MetaWeblog standard compatibility

Tips:

  • Most reliable API for automation
  • No cookie re-extraction needed
  • Good for traditional tech blogging

For Juejin, CSDN, and Zhihu, you need to extract browser cookies:

Manual Method

  1. Log in to the platform in your browser
  2. Open DevTools (F12) → ApplicationCookies
  3. Copy the full cookie string
  4. Set as environment variable:
bash
export PROMOTE_JUEJIN_COOKIE="your_cookie_here"
export PROMOTE_CSDN_COOKIE="your_cookie_here"
export PROMOTE_ZHIHU_COOKIE="your_cookie_here"

Auto-Extraction (with OpenClaw)

bash
# Using browser tool to auto-extract
promote auth set-cookie juejin "extracted_cookie"
promote auth set-cookie csdn "extracted_cookie"
promote auth set-cookie zhihu "extracted_cookie"

# Verify
promote auth status
promote platforms check

Cookie Expiry

Cookies expire approximately every 1 month. If posting fails with authentication errors, re-extract your cookies using the steps above.

Released under the MIT License.