获取微博子评论/Get Weibo sub-comments
Changed on[中文]
用途:
- 获取指定评论的回复(子评论)列表。
参数:
- id: 主评论ID(必填)
- count: 子评论数量(默认10)
- max_id: 翻页游标,首次请求传空,后续请求使用返回的max_id值
返回:
- 子评论列表数据,包含回复内容、回复者信息、点赞数等
- 包含 max_id 字段用于翻页
注意:
- 与fetch_post_comments的区别:本接口获取的是评论的回复,而非微博的主评论
[English]
Purpose:
- Get the reply (sub-comment) list of a specified comment.
Parameters:
- id: Main comment ID (required)
- count: Number of sub-comments (default 10)
- max_id: Pagination cursor, pass empty for first request, use returned max_id for subsequent requests
Return:
- Sub-comment list data, including reply content, replier info, likes count
- Contains max_id field for pagination
Note:
- Difference from fetch_post_comments: this API gets replies to comments, not main comments of posts
[示例/Example]
id = "5283574244704555" count = 10 max_id = ""
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
主评论ID/Comment ID
子评论数量/Number of sub-comments
分页标识/Page identifier
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