接口文档开发者博客官网首页

视频-评论

POSThttps://api.wechatapi.net/finder/comment

请求参数

参数名位置类型必填说明
wechat-tokenheaderstring必填
appIdbodystring必填

设备ID

contentbodystring必填

评论内容

objectIdbodyinteger必填

视频号的objectId

sessionBufferbodystring必填

视频号的sessionBuffer

objectNonceIdbodystring

视频号的objectNonceId

opTypebodyinteger必填

0评论 1删除评论

myUserNamebodystring必填

自己的username

myRoleTypebodyinteger必填

自己的roletype

replyUserNamebodystring

回复评论的username

refCommentIdbodystring

回复评论时传

rootCommentIdbodystring

回复评论时传

commentIdbodyinteger必填

评论ID,删除评论时传

请求示例

Request JSON
{
  "appId": "",
  "content": "",
  "objectId": 0,
  "sessionBuffer": "",
  "objectNonceId": "",
  "opType": 0,
  "myUserName": "",
  "myRoleType": 0,
  "replyUserName": "",
  "refCommentId": "",
  "rootCommentId": "",
  "commentId": 0
}

响应示例

Response JSON
{
  "ret": 200,
  "msg": "操作成功",
  "data": {
    "commentId": null
  }
}
接入 视频-评论 接口

注册即可获取 appId 与调用凭证,支持在线调试。

免费注册在线调试

本模块其他接口