接口名称 加载评论ForSp(支持回复)     签名
地址 https://api.cnlive.com/open/api2/commentServices/services/commentForChat/loadComment
method post
返回数据 json

/* Title: 1.8 加载朋友圈评论和回复 Sort: 18 */

URL: https://api.cnlive.com/open/api2/commentServices/services/commentForChatBySpId/loadComment


请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
plat true string i=IOS客户端,a=Android客户端
id true string 主题ID
commentId true string 评论ID
count true string 查询条数
sign true string 签名

返回格式说明:

{
 "errorCode": "0",
 "errorMessage": "成功",
 "data": {
 "comments": [
 {
 "commentId": "24",
 "fromSid": "10514228",
 "fromNick": "某某莫",
 "fromFace": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png",
 "toSid": "145680",
 "toNick": "missa",
 "content": "哈哈",
 "type": "comment",
 "created_at": "2018-12-19 17:14",
 "plat": "a"
 }
 ],
 "hasNext": "true" (true:有下一页,false:没有下一页),
 "total_columns": "3",
 }
}