评论回复列表

Scope: item.comment 需要申请权限 需要用户授权 该接口用于获取评论回复列表。

注意:

  • 抖音的 OAuth API 以https://open.douyin.com/开头。
  • 注意参数中 item_id 作为 url 参数时,必须 encode,只对 item_id 单独进行 encode
  • 注意参数中 comment_id 作为 url 参数时,必须 encode,只对 comment_id 单独进行 encode

状态码排查

进入【状态码排查工具】

请求地址

GET /item/comment/reply/list/

请求头

  • Content-Type: application/json
  • access-token: 调用/oauth/access_token/生成的 token,此 token 需要用户授权。示例: act.1d1021d2aee3d41fee2d2add43456badMFZnrhFhfWotu3Ecuiuka27L56lr

请求参数

URL 请求

参数名称参数类型参数描述参数示例是否必填
暂无数据

请求样例

响应参数

参数名称参数类型参数描述参数示例是否必填
暂无数据

响应样例

{
  "extra": {
    "logid": "202008121419360101980821035705926A",
    "now": 1597213176393,
    "error_code": 0,
    "description": "",
    "sub_error_code": 0,
    "sub_description": ""
  },
  "data": {
    "error_code": 0,
    "description": "",
    "cursor": 1,
    "has_more": true,
    "list": [
      {
        "create_time": 1607399832,
        "digg_count": 647,
        "reply_comment_total": 12,
        "top": true,
        "comment_id": "",
        "comment_user_id": "",
        "content": "回复内容"
      }
    ]
  }
}

响应错误样例

{
  "data": {
    "error_code": 2100005,
    "description": "Parameter error"
  },
  "extra": {
    "error_code": 2100005,
    "description": "Parameter error",
    "sub_error_code": 0,
    "sub_description": "",
    "now": 1594015876138,
    "log_id": "2020070614111601022506808001045D59"
  }
}

FAQ

Q:接口报错:error_code = 2100005sub_error_code = 100401怎么解决?

A:请检查目标视频状态,只有存在且公开的视频才能返回数据。视频已删除/视频仅好友可见/私密视频 都会导致此错误。

诚邀您对本文档易读易用性进行评价
好用
不好用