浏览器登录 & X/Twitter
浏览器登录 + X/Twitter 发帖
Section titled “浏览器登录 + X/Twitter 发帖”手动登录(推荐)
Section titled “手动登录(推荐)”当网站需要登录时,在 主机 浏览器配置文件(openclaw 浏览器)中 手动登录。
不要 将你的凭据给模型。自动登录经常触发反机器人防御并可能锁定账户。
返回主浏览器文档:浏览器。
使用哪个 Chrome 配置文件?
Section titled “使用哪个 Chrome 配置文件?”OpenClaw 控制一个 专用的 Chrome 配置文件(名为 openclaw,橙色色调 UI)。这与你的日常浏览器配置文件是分开的。
两种简单的访问方式:
- 让代理打开浏览器,然后你自己登录。
- 通过 CLI 打开:
openclaw browser startopenclaw browser open https://x.com如果你有多个配置文件,传递 --browser-profile <name>(默认为 openclaw)。
X/Twitter:推荐流程
Section titled “X/Twitter:推荐流程”- 阅读/搜索/话题: 使用 bird CLI 技能(无浏览器,稳定)。
- 发布更新: 使用 主机 浏览器(手动登录)。
沙盒 + 主机浏览器访问
Section titled “沙盒 + 主机浏览器访问”沙盒浏览器会话 更有可能 触发机器人检测。对于 X/Twitter(和其他严格的网站),首选 主机 浏览器。
如果代理被沙盒化,浏览器工具默认为沙盒。要允许主机控制:
{ agents: { defaults: { sandbox: { mode: "non-main", browser: { allowHostControl: true } } } }}然后定位主机浏览器:
openclaw browser open https://x.com --browser-profile openclaw --target host或者禁用发布更新的代理的沙盒。