From 7434c3cb9faa4266b869117b15cca4d0f147b91d Mon Sep 17 00:00:00 2001 From: Yves <33087260+jygzyc@users.noreply.github.com> Date: Wed, 4 Mar 2026 17:18:13 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20xiaohongshu=20API=20in=20SKILL.md?= =?UTF-8?q?=20=E2=80=94=20replace=20non-existent=20functions=20with=20corr?= =?UTF-8?q?ect=20ones=20(#65)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent_reach/skill/SKILL.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/agent_reach/skill/SKILL.md b/agent_reach/skill/SKILL.md index 6c49b85..2510e4a 100644 --- a/agent_reach/skill/SKILL.md +++ b/agent_reach/skill/SKILL.md @@ -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