Weibo-Web-V2-API

获取微博视频评论/Get Weibo video comments

Changed on

获取视频关联微博的一级评论。oid 仅接受完整视频对象 ID。 如果只有微博正文链接,先调用 fetch_post_detail,用返回的 data.page_info.object_id 作为 oid。如果只要该正文的评论,可以直接调用 fetch_post_comments?id=5360752028288096(id 为正文 ID)。

首次请求留空 max_id,后续使用上页返回的 max_id。游标为空或为 0 时没有更多评论。实际返回条数可能与 count 不同。

Get top-level comments on the post associated with the video. For a post URL, call fetch_post_detail and pass data.page_info.object_id as oid. To read comments on the post directly, pass its post ID to fetch_post_comments.

Leave max_id empty for the first page, then use the cursor from the previous response. An empty or zero cursor indicates the end. The number of comments returned may differ from count.

get/api/v1/weibo/web_v2/fetch_video_comments

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

oidstring required

完整视频对象 ID(含 1034: 前缀)/Full video object ID, including the 1034: prefix

countinteger

请求的评论数量,范围 1–20/Requested comment count, 1–20

max_idstring

翻页游标/Pagination cursor

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes