获取微博用户文章数据/Get Weibo user posts
Changed on[中文]
用途:
- 获取指定用户发布的微博列表,支持分页和多种数据详细程度。
参数:
- uid: 用户ID(必填)
- page: 页码,从1开始(默认1)
- feature: 数据特征值(默认0)
- 0: 返回10条基础数据
- 1: 返回20条扩展数据
- 2: 返回20条图片相关数据
- 3: 返回20条完整数据
- since_id: 翻页标识,用于获取下一页数据
返回:
- 微博列表数据,包含微博内容、图片、视频等信息
- 包含 since_id 字段用于翻页
注意:
- feature=0性能最佳,feature=3数据最全
[English]
Purpose:
- Get the list of posts published by specified user, support pagination and multiple data detail levels.
Parameters:
- uid: User ID (required)
- page: Page number, starts from 1 (default 1)
- feature: Data feature value (default 0)
- 0: Return 10 basic posts
- 1: Return 20 extended posts
- 2: Return 20 image-related posts
- 3: Return 20 complete posts
- since_id: Pagination identifier for next page
Return:
- Post list data, including post content, images, videos, etc.
- Contains since_id field for pagination
Note:
- feature=0 has best performance, feature=3 has most complete data
[示例/Example]
uid = "7277477906" page = 1 feature = 0
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
用户id/User id
页数/Page number
特征值,控制返回数据的数量和字段:0=返回10条基础数据,1=返回20条扩展数据,2=返回20条图片相关数据,3=返回20条视频相关数据,字段逐级增加/Feature type: 0=10 basic posts, 1=20 extended posts, 2=20 image-related posts, 3=20 video-related posts, fields increase progressively
翻页标识,用于获取下一页数据/Pagination identifier for getting next page data
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