...
Get list of members who liked the item
Example URI
Code Block | ||||
---|---|---|---|---|
| ||||
http://example.com/restful_api/like?type_id=app& |
...
item_id=8& |
...
app_id=PHPfox_Videos& |
...
parent_module=pages |
...
Parameters
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 getting likes on app item on pages/groups |
...
POST /like
Like an item
Example URI
Code Block | ||||
---|---|---|---|---|
| ||||
http://example.com/restful_api/like |
...
Parameters
Parameter | Type | Require ? | Description |
---|---|---|---|
type_id | string | yes | Type id of the item |
item_id | number | yes | Id of the item |
app_id | string | no | Required if item type is app |
parent_module | string | no | Require for adding like on app item on pages/groups |
...
Unlike an item
Example URI
Code Block | ||||
---|---|---|---|---|
| ||||
http://example.com/restful_api/like |
...
Parameters
Parameter | Type | Require ? | Description |
---|---|---|---|
type_id | string | yes | Type id of the item |
item_id | number | yes | Id of the item |
app_id | string | no | Required if item type is app |
parent_module | string | no | Require for adding like on app item on pages/groups |
...