评论

请求URL:

  • http://域名/finderComment

请求方式:

  • POST

请求头Headers:

  • Content-Type:application/json
  • Authorization:login接口返回

参数:

参数名 必选 类型 说明
wId String 登录实例标识
content String 评论内容
id bigint 视频号作品id
objectNonceId String 视频号作品nonceId
type int 操作类型
0:评论
1:删除评论
sessionBuffer String 通过获取用户主页返回的sessionBuffer
meUserName String 自己的用户编码(获取个人主页接口返回的userName)
meRoleType int 自己的角色类型,根据角色关注(获取个人主页接口返回的roleType)
refCommentId bigint 回复的评论id

请求参数示例

{
{
    "wId": "{{wId}}",
    "content": "日本有点过分",
    "id": 14200825020179157073,
    "objectNonceId": "",
    "type": 0,
    "sessionBuffer": "eyJzZXNzaW9uX2lkIjoic2lkXzEzNDUxMDA3MDNfMTY5NDQ5OTM1NzE4MDM0M18yMDI4Mjg4MDM0IiwiY3VyX2xpa2VfY291bnQiOjY2Mzc1NiwiY3VyX2NvbW1lbnRfY291bnQiOjU1MjYsInJlY2FsbF90eXBlcyI6W10sImRlbGl2ZXJ5X3NjZW5lIjoyLCJkZWxpdmVyeV90aW1lIjoxNjk0NDk5MzU3LCJzZXRfY29uZGl0aW9uX2ZsYWciOjksImZyaWVuZF9jb21tZW50X2luZm8iOnsibGFzdF9mcmllbmRfdXNlcm5hbWUiOiJ3eGlkX2k2cXNiYmplbmp1ajIyIiwibGFzdF9mcmllbmRfbGlrZV90aW1lIjoxNjk0NDk1ODI0fSwidG90YWxfZnJpZW5kX2xpa2VfY291bnQiOjEsInJlY2FsbF9pbmRleCI6W10sIm1lZGlhX3R5cGUiOjQsInZpZF9sZW4iOjYxLCJjcmVhdGVfdGltZSI6MTY5Mjg3MDI2MSwicmVjYWxsX2luZm8iOltdLCJzZWNyZXRlX2RhdGEiOiJCZ0FBTnBUcXRwUEZ6U3V0ZXZFakJlSDdzdXJjWUN1TmdsWlQrMXc0bnpDTlwvY1ZOb0lyeFFnbUhtTDNaa1ZIOThaZm9JRXJJR3ZOME81K0gyVzh2dk1YSkx0c0R0NFJrV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xxxxxxxxxxxxxxx@finder",
    "meRoleType": "3"
} 
}

成功返回示例

{
    "code": "1000",
    "message": "视频号评论成功",
    "data": null
}

错误返回示例

{
    "message": "失败",
    "code": "1001",
    "data": null
}

返回数据:

参数名 类型 说明
code String 1000成功
1001失败
msg String 反馈信息
data JSONObject
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2024-11-10 23:27:39

results matching ""

    No results matching ""