...
Parameter | Type | Require ? | Description |
---|---|---|---|
type_id | string | yes | Type id of the item |
item_id | number | yes | Item id |
app_id | string | no | Require if item type is app |
parent_module | string | no | Require for get comments on app item on pages/groups |
limit | number | no | Limit return results |
page | number | no | Paging return results |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": [ { "is_liked": null, "comment_id": "14", "parent_id": "0", "type_id": "app", "item_id": "9", "user_id": "1", "owner_user_id": "10", "child_total": "1", "total_like": "0", "text": "Great video" } ], "messages": [] } |
...
Parameter | Type | Require ? | Description |
---|---|---|---|
valtype | string | yes | Type id of the item |
valitem_id | number | yes | Id of the item |
valtext | string | yes | Comment text |
valparent_id | number | no | Require for adding reply on comment |
valapp_object | string | no | Require if comment on an app item |
string | no | Parent type of the app item |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": { "is_liked": null, "comment_id": "15", "parent_id": "14", "type_id": "app", "item_id": "9", "user_id": "1", "owner_user_id": "10", "child_total": "0", "total_like": "0", "text": "Yes. A great song for Christmas day.", "unix_time_stamp": "1481252047" }, "messages": [ "Comment successfully added." ] } |
...
Parameter | Type | Require ? | Description |
---|---|---|---|
id | number | yes | Comment id |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": { "is_liked": "24", "comment_id": "14", "parent_id": "0", "type_id": "app", "item_id": "9", "user_id": "1", "owner_user_id": "10", "child_total": "1", "total_like": "1", "text": "great video", "unix_time_stamp": "1481251788" }, "messages": [] } |
...
Parameter | Type | Require ? | Description |
---|---|---|---|
id | number | yes | Comment id |
text | string | yes | Text to update |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": { "is_liked": "24", "comment_id": "14", "parent_id": "0", "type_id": "app", "item_id": "9", "user_id": "1", "owner_user_id": "10", "child_total": "1", "total_like": "1", "text": "Great Music Video!", "unix_time_stamp": "1481251788" }, "messages": [ "Comment successfully updated." ] } |
...
Parameter | Type | Require ? | Description |
---|---|---|---|
id | number | yes | Comment id |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": [], "messages": [ "Comment successfully deleted." ] } |