接口名称 |
评论列表ForSp(支持回复)
签名
|
地址 |
https://api.cnlive.com/open/api2/commentServices/services/commentForChat/readAll |
method |
post |
返回数据 |
json
|
/* Title: 1.5 读取朋友圈某条动态的评论(含回复) Sort: 15 */
请求方式: GET
返回格式: JSON
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
plat |
true |
string |
i=IOS客户端,a=Android客户端 |
id |
true |
string |
主题ID |
page |
true |
string |
页号 |
pageSize |
true |
string |
每页显示的条数 |
sign |
true |
string |
签名 |
返回格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"next_cursor": "0",
"previous_cursor": "0",
"total_number": "1",
"total_columns": "2",
"comments": [{
"commentId": "1",
"fromSid": "10011",
"fromNick": "xxxxx",
"fromFace": "xxxxx",
"toSid": "123456",
"toNick": "xxxxxxxxxx",
"content": "中文评论",
"created_at": "2018-03-07 13:00",
"plat": "a",
"type": "reply"
},
{
"commentId": "2",
"fromSid": "10011",
"fromNick": "xxxxx",
"fromFace": "xxxxx",
"toSid": "123456",
"toNick": "xxxxxxxxxx",
"content": "中文评论",
"created_at": "2018-03-07 13:10",
"plat": "a",
"type": "comment"
}
]
}
}