feat: 增加运营技巧

This commit is contained in:
richarjiang
2026-04-19 16:15:11 +08:00
parent 2e4ee085cc
commit 35a8a4c3a2
53 changed files with 1304 additions and 3325 deletions

View File

@@ -0,0 +1,29 @@
---
name: xhs-profile
description: |
查看小红书用户主页:基本信息、粉丝/关注/获赞数据、发布的笔记列表。
当用户想查看某个博主、作者、用户的主页信息和作品时使用。
---
## 执行流程
### 1. 获取用户信息
调用 `user_profile`
- `user_id`string必填— 用户 ID来自笔记详情或搜索结果
- `xsec_token`string必填
### 2. 展示结果
- 基本信息:昵称、头像、简介、性别、地区
- 数据:粉丝数、关注数、获赞与收藏数
- 最近发布的笔记列表(含 feed_id 和 xsec_token
提示用户可以查看某条笔记详情或进行互动。
## 失败处理
| 场景 | 处理 |
|---|---|
| 未登录 | 引导使用 xhs-login |
| 用户不存在 | 告知用户该主页无法访问 |