docs: fix xiaohongshu API in SKILL.md — replace non-existent functions with correct ones (#65)

This commit is contained in:
Yves
2026-03-04 17:18:13 +08:00
committed by GitHub
parent 1a61a2cc81
commit 7434c3cb9f
+13 -6
View File
@@ -145,20 +145,27 @@ Note: On servers, Reddit may block your IP. Use proxy or search via Exa instead.
### 小红书 / XiaoHongShu (mcporter + xiaohongshu-mcp)
> ⚠️ 需要登录。使用 Cookie-Editor 导入 cookies 或扫码登录。
```bash
# Search notes
# 搜索笔记
mcporter call 'xiaohongshu.search_feeds(keyword: "query")'
# Read a note
# 获取笔记详情(含评论)
mcporter call 'xiaohongshu.get_feed_detail(feed_id: "xxx", xsec_token: "yyy")'
# Get comments
mcporter call 'xiaohongshu.get_feed_comments(feed_id: "xxx", xsec_token: "yyy")'
# 获取全部评论
mcporter call 'xiaohongshu.get_feed_detail(feed_id: "xxx", xsec_token: "yyy", load_all_comments: true)'
# Post a note
mcporter call 'xiaohongshu.create_image_feed(title: "标题", desc: "内容", image_paths: ["/path/to/img.jpg"])'
# 发布图文笔记
mcporter call 'xiaohongshu.publish_content(title: "标题", content: "正文", images: ["/path/to/img.jpg"], tags: ["美食"])'
# 发布视频笔记
mcporter call 'xiaohongshu.publish_with_video(title: "标题", content: "正文", video: "/path/to/video.mp4", tags: ["vlog"])'
```
其他功能(点赞、收藏、评论、用户主页等):`npx mcporter list xiaohongshu`
### 抖音 / Douyin (mcporter + douyin-mcp-server)
```bash