WeChat Auto-Publish
This guide is currently available in Chinese only. Read in Chinese →
Tell OpenClaw one sentence, and the article lands in your WeChat public account drafts automatically. You just preview and publish.
Quick Setup
- Get your AppID and AppSecret from mp.weixin.qq.com → Settings → Basic Config
- Add your server's outbound IP to the IP whitelist
- Tell OpenClaw your credentials:
Set up WeChat publishing: AppID: wx... AppSecret: ...
Common Pitfalls
| Error | Cause | Fix |
|---|---|---|
| Chinese garbled text | ensure_ascii=True in Python | Use json.dumps(data, ensure_ascii=False).encode("utf-8") |
| Images not showing | Non-WeChat domain filtered | Upload images to WeChat media library first |
| Error 45003 | Title too long (>20 Chinese chars) | Shorten the title |
| Error 40164 | Wrong IP in whitelist | Add proxy outbound IP, not local IP |
Result
Traditional workflow (writing + formatting + images + review): ~2 hours
OpenClaw automation (one sentence + review + publish): ~10 minutes
90% time saved.