Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 4.81 KB

comment.md

File metadata and controls

57 lines (49 loc) · 4.81 KB

Comment

内容下的一条评论或回复。

网页版:https://okdata.online/zh/docs/objects/comment/

所有平台同一种结构。平台没有的字段为 null,meta.unavailable 会说明原因。用 fields= 只取需要的字段。

字段 类型 说明
id string 评论 ID。
post_id string 所属内容的 ID。
parent_id string | null 回复的上级评论;一级评论为 null。
text string 评论内容。
published_at string 发布时间,ISO 8601,UTC。
author AccountRef 评论者。
likes integer | null 评论点赞数。
replies integer | null 回复数。
ip_location string | null 平台显示的 IP 属地(有的话)。
ext object 平台特有字段,只在 view=full 时返回。

AccountRef

字段 类型 说明
id string 平台上的账号 ID。
username string | null 用户名(平台有的话)。
name string | null 昵称。
avatar_url string | null 头像图片地址。
followers integer | null 抓取时的粉丝数。
verified boolean | null 平台是否显示认证标识。

返回 Comment 的接口