Use this skill to collect Weibo signals with reproducible Weibo Open Platform API calls and CLI automation.
bash scripts/weibo_cli.sh oauth-authorize-url
code for a token:bash scripts/weibo_cli.sh oauth-access-token --code ""
bash scripts/weibo_cli.sh public-timeline --count 20
Use the Bash CLI first:
scripts/weibo_cli.sh: OAuth2 + direct API command interface, optimized for agentic runs.Optional companion skill:
weibo-brave-search: separate fallback skill for site:weibo.com search through Brave Search API.oauth-authorize-url, open URL, capture code.oauth-access-token --code ... and store token securely.public-timeline, user-timeline, search-topics) or call.weibo-brave-search skill instead of this one.oauth-authorize-urloauth-access-token --code oauth-token-infopublic-timeline [--count N] [--page N]user-timeline --uid [--count N] search-topics --q call --method GET --path /2/... --param key=valueRun bash scripts/weibo_cli.sh --help for details.
Credential classes:
| Variable | Required | Sensitive | Used for |
|---|---|---|---|
| --- | --- | --- | --- |
WEIBO_APP_KEY | Yes | No | OAuth client identifier |
WEIBO_APP_SECRET | Yes | Yes | OAuth token exchange |
WEIBO_REDIRECT_URI | Yes | No | OAuth callback |
WEIBO_ACCESS_TOKEN | Optional | Yes | Authenticated API calls after token issuance |
OpenClaw configuration guidance:
skills.entries.weibo.apiKey to a SecretRef or plaintext value only for WEIBO_APP_SECRET, because this skill declares WEIBO_APP_SECRET as its primaryEnv.skills.entries.weibo.env.WEIBO_APP_KEY and skills.entries.weibo.env.WEIBO_REDIRECT_URI as regular env config.skills.entries.weibo.env.WEIBO_ACCESS_TOKEN from your external secret manager or deployment environment.Warnings:
WEIBO_APP_SECRET and WEIBO_ACCESS_TOKEN are sensitive and must not be committed.SecretRef audit path covers skills.entries..apiKey ; it does not give the same visibility for arbitrary ad hoc env vars.WEIBO_ACCESS_TOKEN through plain environment variables, store it in your external secrets manager or deployment environment and do not treat it as registry-managed unless you have configured it that way intentionally.https://api.weibo.com.共 1 个版本