Read a Facebook post
get_page_postRead a Facebook post: its text, link, images, Page, date, state, and Facebook's refusal if
any. version: an earlier version. Read it before update_page_post.
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": {
"post_id": "<post_id>"
},
"name": "get_page_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| link | Yes | ||
| space | Yes | ||
| state | Yes | “brouillon” (draft, waiting for a human), “echec” (Facebook refused it: see failure; fix and a human publishes again), “programmee” (scheduled on Facebook), “publiee” (published), “archivee” (archived draft). | |
| author | Yes | ||
| images | Yes | ||
| failure | Yes | Facebook's last refusal, if any. | |
| message | Yes | ||
| page_id | Yes | ||
| version | Yes | Pass it as expected_version to update_page_post or archive_page_post. | |
| archived | Yes | ||
| client_id | Yes | ||
| page_name | Yes | ||
| updated_at | Yes | ||
| published_at | Yes | ||
| published_by | Yes | ||
| scheduled_for | Yes | Requested publication time; null: published when a human validates it. | |
| facebook_post_id | Yes |