Commit 0f21ebe301169701f60dcb2c1fbcb6a4f41a39f6
1 parent
885e2f51
add 评论 朋友圈 readall
Showing
1 changed file
with
94 additions
and
0 deletions
05.互动云/1.5 评论-读取朋友圈某条动态的评论(含回复).md
0 → 100644
| 1 | +/* | |
| 2 | + Title: 1.5 读取朋友圈某条动态的评论(含回复) | |
| 3 | + Sort: 15 | |
| 4 | +*/ | |
| 5 | +#### URL: https://api.cnlive.com/open/api2/commentServices/services/commentForChat/readAll?appId=xxx&... | |
| 6 | +----- | |
| 7 | +#### 请求方式: GET | |
| 8 | +----- | |
| 9 | +#### 返回格式: JSON | |
| 10 | +----- | |
| 11 | +#### 请求参数说明: | |
| 12 | +<table class="table table-bordered table-striped table-condensed"> | |
| 13 | + <tr> | |
| 14 | + <th>参数</th> | |
| 15 | + <th>必选</th> | |
| 16 | + <th>类型</th> | |
| 17 | + <th>说明</th> | |
| 18 | + </tr> | |
| 19 | + <tr> | |
| 20 | + <td>appId</td> | |
| 21 | + <td>true</td> | |
| 22 | + <td>string</td> | |
| 23 | + <td>应用ID</td> | |
| 24 | + </tr> | |
| 25 | + <tr> | |
| 26 | + <td>plat</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>i=IOS客户端,a=Android客户端</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>id</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>主题ID</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>page</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>页号</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>pageSize</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>每页显示的条数</td> | |
| 48 | + </tr> | |
| 49 | + <tr> | |
| 50 | + <td>sign</td> | |
| 51 | + <td>true</td> | |
| 52 | + <td>string</td> | |
| 53 | + <td>签名</td> | |
| 54 | + </tr> | |
| 55 | +</table> | |
| 56 | + | |
| 57 | +----- | |
| 58 | +#### 返回格式说明: | |
| 59 | +``` | |
| 60 | +{ | |
| 61 | + "errorCode": "0", | |
| 62 | + "errorMessage": "成功", | |
| 63 | + "data": { | |
| 64 | + "next_cursor": "0", | |
| 65 | + "previous_cursor": "0", | |
| 66 | + "total_number": "1", | |
| 67 | + "total_columns": "2", | |
| 68 | + "comments": [{ | |
| 69 | + "commentId": "1", | |
| 70 | + "fromSid": "10011", | |
| 71 | + "fromNick": "xxxxx", | |
| 72 | + "fromFace": "xxxxx", | |
| 73 | + "toSid": "123456", | |
| 74 | + "toNick": "xxxxxxxxxx", | |
| 75 | + "content": "中文评论", | |
| 76 | + "created_at": "2018-03-07 13:00", | |
| 77 | + "plat": "a", | |
| 78 | + "type": "reply" | |
| 79 | + }, { | |
| 80 | + "commentId": "2", | |
| 81 | + "fromSid": "10011", | |
| 82 | + "fromNick": "xxxxx", | |
| 83 | + "fromFace": "xxxxx", | |
| 84 | + "toSid": "123456", | |
| 85 | + "toNick": "xxxxxxxxxx", | |
| 86 | + "content": "中文评论", | |
| 87 | + "created_at": "2018-03-07 13:10", | |
| 88 | + "plat": "a", | |
| 89 | + "type": "comment" | |
| 90 | + }] | |
| 91 | + } | |
| 92 | +} | |
| 93 | + | |
| 94 | +``` | |
| 0 | 95 | \ No newline at end of file | ... | ... |