获取用户发布的微博/Get user timeline

Weiboapi

About

获取用户发布的微博/Get user timeline

Documentation

获取用户发布的微博/Get user timeline

[中文]

用途:

  • 获取指定用户发布的微博列表,支持分页和多种内容筛选。

参数:

  • uid: 用户ID(必填)
  • page: 页码,从1开始(默认1)
  • filter_type: 筛选类型(默认"all")
    • all: 全部微博
    • original: 原创微博
    • likes: 她/他的赞
    • video: 视频微博
    • pic: 图片微博
    • location: 签到足迹
    • month: 按时间筛选(需要同时传入month参数)
  • month: 时间筛选参数,格式YYYYMMDD(仅当filter_type=month时使用)

返回:

  • 微博列表数据,包含微博内容、图片、视频等信息

注意:

  • 如果用户设置了隐私保护,可能无法获取微博列表
  • 每页返回数量约为20条微博
  • 使用时间筛选时必须同时指定filter_type=month和month参数

[English]

Purpose:

  • Get the list of posts published by specified user, support pagination and multiple content filters.

Parameters:

  • uid: User ID (required)
  • page: Page number, starts from 1 (default 1)
  • filter_type: Filter type (default "all")
    • all: All posts
    • original: Original posts
    • likes: Liked posts
    • video: Video posts
    • pic: Picture posts
    • location: Location check-in posts
    • month: Filter by time (must pass month parameter)
  • month: Time filter parameter, format YYYYMMDD (only used when filter_type=month)

Return:

  • Post list data, including post content, images, videos, etc.

Note:

  • If user has set privacy protection, post list may not be available
  • About 20 posts per page
  • When using time filter, must specify both filter_type=month and month parameter

[示例/Example]

uid = "7648703289" page = 1 filter_type = "all"

or filter_type = "video" for videos only

or filter_type = "month" with month = "20251010" for time filter

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

Try 获取用户发布的微博/Get user timeline

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

Open in Playground

Related Models