Facebook Pages

App · Social Media · 3 actions

Publish posts and comments to your Facebook Page and list its recent posts.

Actions

ActionWhat it does
Create a commentAdd a comment to one of your Facebook Page's posts, identified by its post ID.
Create a postPublish a text post to your Facebook Page, optionally attaching a link that Facebook renders as a preview card.
List postsList the most recent posts published to your Facebook Page.

Create a comment

Add a comment to one of your Facebook Page's posts, identified by its post ID.

Inputs

Post IDpost_idtextRequired
The ID of the post to comment on (as returned by Create a post), for example, 123456789_987654321.
CommentmessagetextRequired
The text of the comment.

Outputs

idtext
The created comment's ID.
Example output
{
  "id": "987654321_111222333"
}

Create a post

Publish a text post to your Facebook Page, optionally attaching a link that Facebook renders as a preview card.

Inputs

MessagemessagetextRequired
The text of the post.
Linklinktext
Optional URL to attach; Facebook renders it as a link preview, for example, https://example.com/article.

Outputs

idtext
The created post's ID.
Example output
{
  "id": "123456789_987654321"
}

List posts

List the most recent posts published to your Facebook Page.

Inputs

Limitlimitnumber
How many posts to return (1-100).From 1 to 100. Default: 10.

Outputs

postslist
The Page's recent posts.
Example output
{
  "posts": [
    {
      "created_time": "2024-01-15T10:00:00+0000",
      "id": "123456789_111",
      "message": "Hello from our Page!",
      "permalink_url": "https://www.facebook.com/123456789/posts/111"
    }
  ]
}

On this page