获取用户相册/Get user album

Weiboapi

About

获取用户相册/Get user album

Documentation

获取用户相册/Get user album

[中文]

用途:

  • 获取指定用户的相册内容。

参数:

  • uid: 用户ID(必填)
  • since_id: 翻页游标,初次请求不传,后续请求使用返回的since_id值

返回:

  • 用户相册数据,包含图片列表等信息

注意:

  • 如果用户设置了隐私保护,可能无法获取相册
  • 使用游标翻页(since_id),不使用页码翻页

[English]

Purpose:

  • Get the album content of specified user.

Parameters:

  • uid: User ID (required)
  • since_id: Pagination cursor, don't pass for first request, use returned since_id for subsequent requests

Return:

  • User album data, including image list, etc.

Note:

  • If user has set privacy protection, album may not be available
  • Uses cursor pagination (since_id), not page numbers

[示例/Example]

uid = "7648703289" since_id = None # First page

since_id = "5012154263666753_4990205358511630|1034:4990204960768042_20240328_-1" # Next page

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

Try 获取用户相册/Get user album

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

Open in Playground

Related Models