获取用户收藏笔记列表/Get user faved notes

Xiaohongshuapi

About

获取用户收藏笔记列表/Get user faved notes

Documentation

获取用户收藏笔记列表/Get user faved notes

[中文]

用途:

  • 获取指定用户公开收藏的笔记列表,使用游标分页

参数:

  • user_id: 用户ID,如 "5a8cf39111be10466d285d6b"
  • share_text: 小红书分享链接(支持APP和Web端分享链接)
  • 优先使用user_id,如果没有则使用share_text,两个参数二选一,如都携带则以user_id为准。
  • cursor: 分页游标,首次请求留空,翻页时传入上一页列表中最后一条笔记的 note_id

返回:

  • 用户收藏笔记列表数据,包含笔记基本信息和分页信息

翻页说明:

  • 首次请求:cursor留空
  • 翻页请求:传入上一页列表中最后一条笔记的 note_id

[English]

Purpose:

  • Get list of notes faved by a specified user, using cursor pagination

Parameters:

  • user_id: User ID, e.g. "5a8cf39111be10466d285d6b"
  • share_text: Xiaohongshu sharing link (support APP and Web sharing link)
  • Prefer to use user_id, if not, use share_text, one of the two parameters is required, if both are carried, user_id shall prevail.
  • cursor: Pagination cursor, leave empty for first request, pass last note_id from previous page for next page

Return:

  • User faved notes list data, including basic note info and pagination info

Pagination Guide:

  • First request: leave cursor empty
  • Next page: pass last note_id from previous page

[示例/Example]

user_id="5a8cf39111be10466d285d6b"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取用户收藏笔记列表/Get user faved notes

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models