Posts

Pins a published Facebook Page post to the top of its Page. Only Facebook posts can be pinned; any other platform answers 400 platform_not_supported. Works for posts on Pages connected through Facebook Login.

post/v1/posts/{postId}/pin

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/posts/{postId}/pin
  • Auth: HTTP bearer

Path parameters

postIdstring required

Request body

platformstring required

Must be facebook. Any other value answers 400 platform_not_supported.

accountIdstring

Which Facebook account's copy to change when the post was published to several Facebook accounts. Required in that case.

Example request

{
  "platform": "facebook"
}

Response

Pin applied on Facebook

successboolean
pinnedboolean

Whether the post is now pinned to the top of the Page.

platformPostIdstring

The Facebook post ID that was changed.

messagestring

Changes