Skip to main content
The returned id is the post id, {pageId}_{postId}. Keep it: comments, insights and delete all take it.

Photos

post_id is the post; id is the photo object. Use post_id everywhere else.

Videos

Media URLs must be public https. Photos as JPG or PNG, videos and reels as MP4. A video publish answers with the video id alone. The post it created is {pageId}_{videoId}; use that with comments, insights and delete.

Reels

A reel is a three-step upload session on Meta’s side. HookMyApp runs it for you behind one call.
This route takes an hmok_ API key and the workspace header, like every channel route. The CLI and MCP go through the same path.

List posts

Newest first, paginated with paging.cursors.after.

Delete a post

Only posts published by the Page can be deleted. Deleting is irreversible.

Publish with the CLI

Publish with MCP

publish_facebook_post takes a kind (text, link, photo, video or reel) with message, link, mediaUrl and description as the kind needs, and returns the postId (always {pageId}_{id}, so comments, insights and delete accept it) and, for videos and reels, the mediaId. list_facebook_posts and delete_facebook_post cover the rest.
Every publish call publishes again. Do not retry blindly: check the Page first.

Next steps

  • Comments: Work the comments on what you publish.
  • Insights: See how the post performs.