LinkedIn
Use browser automation to interact with LinkedIn - check messages, view profiles, search, and send connection requests.
Connection Methods
Option 1: Chrome Extension Relay (Recommended)
- 1. Open LinkedIn in Chrome and log in
- Click the Clawdbot Browser Relay toolbar icon to attach the tab
- Use
browser tool with INLINECODE1
Option 2: Isolated Browser
- 1. Use
browser tool with INLINECODE3 - Navigate to linkedin.com
- Log in manually (one-time setup)
- Session persists for future use
Common Operations
Check Connection Status
CODEBLOCK0
View Notifications/Messages
CODEBLOCK1
Search People
CODEBLOCK2
View Profile
CODEBLOCK3
Send Message (confirm with user first!)
- 1. Navigate to messaging or profile
- Use
browser action=act with click/type actions - Always confirm message content before sending
Safety Rules
- - Never send messages without explicit user approval
- Never accept/send connection requests without confirmation
- Avoid rapid automated actions - LinkedIn is aggressive about detecting automation
- Rate limit: ~30 actions per hour max recommended
Session Cookie Method (Advanced)
If browser relay isn't available, extract the
li_at cookie from browser:
- 1. Open LinkedIn in browser, log in
- DevTools → Application → Cookies → linkedin.com
- Copy
li_at value - Store securely for API requests
Troubleshooting
- - If logged out: Re-authenticate in browser
- If rate limited: Wait 24 hours, reduce action frequency
- If CAPTCHA: Complete manually in browser, then resume
LinkedIn
使用浏览器自动化与LinkedIn交互——查看消息、浏览个人资料、搜索以及发送连接请求。
连接方式
方式一:Chrome扩展中继(推荐)
- 1. 在Chrome中打开LinkedIn并登录
- 点击Clawdbot Browser Relay工具栏图标以附加标签页
- 使用browser工具并设置profile=chrome
方式二:独立浏览器
- 1. 使用browser工具并设置profile=clawd
- 导航至linkedin.com
- 手动登录(一次性设置)
- 会话将保留供后续使用
常用操作
查看连接状态
browser action=snapshot profile=chrome targetUrl=https://www.linkedin.com/feed/
查看通知/消息
browser action=navigate profile=chrome targetUrl=https://www.linkedin.com/messaging/
browser action=snapshot profile=chrome
搜索人员
browser action=navigate profile=chrome targetUrl=https://www.linkedin.com/search/results/people/?keywords=QUERY
browser action=snapshot profile=chrome
查看个人资料
browser action=navigate profile=chrome targetUrl=https://www.linkedin.com/in/USERNAME/
browser action=snapshot profile=chrome
发送消息(务必先征得用户同意!)
- 1. 导航至消息或个人资料页面
- 使用browser action=act执行点击/输入操作
- 发送前务必确认消息内容
安全规则
- - 未经用户明确许可,绝不发送消息
- 未经确认,绝不接受/发送连接请求
- 避免快速自动化操作——LinkedIn对自动化检测非常严格
- 速率限制:建议每小时最多约30次操作
会话Cookie方法(高级)
如果浏览器中继不可用,可从浏览器提取li_atCookie:
- 1. 在浏览器中打开LinkedIn并登录
- 开发者工具 → 应用 → Cookie → linkedin.com
- 复制li_at值
- 安全存储以备API请求使用
故障排除
- - 如果已登出:在浏览器中重新认证
- 如果被限速:等待24小时,降低操作频率
- 如果遇到验证码:在浏览器中手动完成,然后继续操作