Like/Unlike Post or Comment
meta_like_objectLike or unlike a Facebook post or comment as the Page. Provide the object ID and Page ID; set unlike to remove the like.
Instructions
Likes or removes a like from a page post or comment, acting as the Page.
Args:
object_id (string): Post ID or Comment ID
page_id (string): Page ID (for token)
unlike (boolean): If true, removes the like instead
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"object_id": "<object_id>",
"page_id": "<page_id>"
},
"name": "meta_like_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unlike | No | ||
| page_id | Yes | ||
| object_id | Yes | Post ID or Comment ID |