获取用户发布的微博/Get user timeline
Changed on[中文]
用途:
- 获取指定用户发布的微博列表,支持分页和多种内容筛选。
参数:
- 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
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
用户ID
页码
筛选类型
时间筛选(YYYYMMDD格式)
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
the
response's property default value changed fromThis request will be cached. You can access the cached result directly using the URL belowvalid for 24 hours. Accessing the cache will not incur additional charges.toThis response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.for the status - info
the
response's property default value changed from本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。to本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。for the status
- info