Facebook Pages

App · Social Media · 22 actions

Publish posts, photos and videos to your Facebook Pages, now or on a schedule, answer and moderate comments, reply in Messenger, and read Page and post insights and reviews.

Actions

ActionWhat it does
Comment on a postComment on a post as the Page, with text, an image, or both.
Count reactionsCount the reactions on a post or comment: all of them, or one kind.
Create a postPublish a text or link post as the Page, now or at a time you choose.
Delete a commentDelete a comment or reply on the Page's posts for good.
Delete a postDelete a post, photo or video from the Page for good.
Edit a postChange the text of a post a workflow published.
Get a postGet one post with its text, link, picture and counts.
Get Page detailsGet a Page's name, category, contact details, followers and rating.
Get Page insightsGet a Page's views, viewers, engagement, follows and video views, day by day, week by week or over 28 days.
Get post insightsGet a post's views, viewers, clicks, reactions and video views.
Hide or show a commentHide a comment on the Page's posts, or show a hidden one again.
List commentsList the comments on a post, or the replies to a comment, with who wrote them and whether they are hidden.
List conversationsList the Page's Messenger conversations, most recent first.
List messagesList the latest messages in a Messenger conversation, newest first.
List my PagesList the Pages you can post and reply as.
List postsList a Page's published posts, its scheduled posts, or everything on it, newest first, with comment, reaction and share counts.
List reviewsList the recommendations and reviews people left on the Page.
Publish a photoPublish a photo with a caption as the Page, now or at a time you choose.
Publish a videoPublish a video from its web address as the Page.
Reply privately to a commentSend the person who wrote a comment a Messenger message about it, once, within 7 days of the comment.
Reply to a commentReply publicly to a comment as the Page.
Send a messageSend a Messenger message as the Page to someone who messaged it in the last 24 hours.

Comment on a post

Comment on a post as the Page, with text, an image, or both.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Postpost_idtextRequired
The post. Pick one of the Page's latest, or use one from an earlier step.
Messagemessagetext
What to write. Give a message, an image, or both.
Image URLimage_urltext
A public image address to attach, starting with https://.

Outputs

comment_idtext
The new comment's id
post_idtext
The post it is on
Example output
{
  "comment_id": "1943344825721377_1009876543210987",
  "post_id": "1353269864728879_1943344825721377"
}

Count reactions

Count the reactions on a post or comment: all of them, or one kind.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Post or commentobject_idtextRequired
The post or comment to count reactions on.
Reactionreaction_typetext
Count one kind of reaction, or all of them (the default).One of: ALL (All reactions), LIKE, LOVE, WOW, HAHA, SORRY (Sad), ANGRY.

Outputs

object_idtext
The post or comment counted
reaction_typetext
The kind counted, or ALL
total_countnumber
How many reactions of that kind it has
Example output
{
  "object_id": "1353269864728879_1943344825721377",
  "reaction_type": "ALL",
  "total_count": 42
}

Create a post

Publish a text or link post as the Page, now or at a time you choose.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Messagemessagetext
The post's text. Give a message, a link, or both.
Linklinktext
A web address to share. Facebook shows a preview of the page it points to.
Publish atpublish_atdate and time
Schedule it for later: at least 10 minutes and at most 30 days from now. Leave empty to publish straight away.

Outputs

permalink_urltext
The post's address on Facebook
post_idtext
The new post's id
publish_attext
When a scheduled item goes live (UTC); empty when published now
scheduledtrue/false
Whether it was scheduled rather than published now
Example output
{
  "permalink_url": "https://www.facebook.com/1353269864728879_1943344825721377",
  "post_id": "1353269864728879_1943344825721377",
  "publish_at": null,
  "scheduled": false
}

Delete a comment

Delete a comment or reply on the Page's posts for good.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Commentcomment_idtextRequired
The comment, from 'List comments', the new comment trigger or the step that made it.

Outputs

comment_idtext
The comment deleted
deletedtrue/false
Always true once Facebook has deleted it
Example output
{
  "comment_id": "1943344825721377_1009876543210987",
  "deleted": true
}

Delete a post

Delete a post, photo or video from the Page for good.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Postpost_idtextRequired
The post, photo or video to delete.

Outputs

deletedtrue/false
Always true once Facebook has deleted it
post_idtext
What was deleted
Example output
{
  "deleted": true,
  "post_id": "1353269864728879_1943344825721377"
}

Edit a post

Change the text of a post a workflow published.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Postpost_idtextRequired
The post. Pick one of the Page's latest, or use one from an earlier step.
New messagemessagetextRequired
The post's new text. Facebook lets an app edit only the posts it published itself.

Outputs

post_idtext
The post that was changed
updatedtrue/false
Always true once Facebook has changed it
Example output
{
  "post_id": "1353269864728879_1943344825721377",
  "updated": true
}

Get a post

Get one post with its text, link, picture and counts.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Postpost_idtextRequired
The post. Pick one of the Page's latest, or use one from an earlier step.

Outputs

postobject
A post
Example output
{
  "post": {
    "author_id": "1353269864728879",
    "author_name": "Cute Kitten Page",
    "comment_count": 5,
    "created_time": "2019-05-17T16:24:04Z",
    "id": "1353269864728879_1943344825721377",
    "is_hidden": false,
    "is_published": true,
    "message": "Become a Facebook developer!",
    "permalink_url": "https://www.facebook.com/1353269864728879_1943344825721377",
    "picture_url": null,
    "reaction_count": 42,
    "scheduled_for": null,
    "share_count": 3,
    "status_type": "mobile_status_update",
    "updated_time": "2019-05-17T16:24:04Z"
  }
}

Get Page details

Get a Page's name, category, contact details, followers and rating.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.

Outputs

pageobject
The Page
Example output
{
  "page": {
    "about": "Kittens, every day.",
    "address": null,
    "category": "Brand",
    "description": null,
    "emails": [
      "hello@example.com"
    ],
    "followers_count": 1204,
    "id": "1353269864728879",
    "is_published": true,
    "likes_count": 1180,
    "link": "https://www.facebook.com/cutekittenpage",
    "name": "Cute Kitten Page",
    "phone": null,
    "picture_url": "https://scontent.xx.fbcdn.net/v/kitten.jpg",
    "rating_count": 12,
    "star_rating": 4.8,
    "username": "cutekittenpage",
    "verification_status": "not_verified",
    "website": "https://example.com"
  }
}

Get Page insights

Get a Page's views, viewers, engagement, follows and video views, day by day, week by week or over 28 days.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
MetricsmetricslistRequired
What to measure. Facebook shows insights only for Pages with 100 or more followers.One or more of: page_media_view (Content views), page_total_media_view_unique (Viewers), page_post_engagements (Post engagements), page_views_total (Page visits), page_total_actions (Clicks on contact info and buttons), page_daily_follows_unique (New follows), page_daily_unfollows_unique (Unfollows), page_follows (Total followers), page_video_views (Video views (3 seconds or more)), page_video_view_time (Video watch time (milliseconds)), page_actions_post_reactions_total (Reactions on posts, by type).
Periodperiodtext
What each value covers. Daily is the default; total followers, video watch time and reactions are always daily.One of: day (Daily), week (Weekly (7 days to each date)), days_28 (28 days to each date).
Fromsincedate
The first day to include. With no dates, Facebook gives the last few days.
Tountildate
The last day to include, at most 90 days after From.

Outputs

countnumber
How many metric series there are
metricslist
The metrics
page_idtext
The Page measured
Example output
{
  "count": 1,
  "metrics": [
    {
      "description": "Daily: The number of times your content was played or displayed.",
      "latest_value": 78037,
      "name": "page_media_view",
      "period": "day",
      "title": "Daily Content Views",
      "values": [
        {
          "end_time": "2020-03-10T07:00:00Z",
          "value": 66226
        },
        {
          "end_time": "2020-03-11T07:00:00Z",
          "value": 78037
        }
      ]
    }
  ],
  "page_id": "1353269864728879"
}

Get post insights

Get a post's views, viewers, clicks, reactions and video views.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Postpost_idtextRequired
The post. Pick one of the Page's latest, or use one from an earlier step.
MetricsmetricslistRequired
What to measure, over the post's lifetime.One or more of: post_media_view (Views), post_total_media_view_unique (Viewers), post_clicks (Clicks), post_reactions_by_type_total (Reactions, by type), post_activity_by_action_type (Shares, likes and comments), post_video_views (Video views (3 seconds or more)), post_video_avg_time_watched (Average video watch time (milliseconds)), post_video_view_time (Total video watch time (milliseconds)).

Outputs

countnumber
How many metrics there are
metricslist
The metrics
post_idtext
The post measured
Example output
{
  "count": 1,
  "metrics": [
    {
      "description": "Lifetime: Total post reactions by type.",
      "latest_value": {
        "like": 226,
        "love": 17,
        "wow": 1
      },
      "name": "post_reactions_by_type_total",
      "period": "lifetime",
      "title": "Lifetime Total post Reactions by Type.",
      "values": [
        {
          "end_time": null,
          "value": {
            "like": 226,
            "love": 17,
            "wow": 1
          }
        }
      ]
    }
  ],
  "post_id": "1353269864728879_1943344825721377"
}

Hide or show a comment

Hide a comment on the Page's posts, or show a hidden one again. Hidden comments stay visible to the person who wrote them.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Commentcomment_idtextRequired
The comment, from 'List comments', the new comment trigger or the step that made it.
VisibilityvisibilitytextRequired
Hidden: only the person who wrote it and their friends still see it. Visible: everyone sees it again.One of: hidden, visible.

Outputs

comment_idtext
The comment
is_hiddentrue/false
Whether it is now hidden
Example output
{
  "comment_id": "1943344825721377_1009876543210987",
  "is_hidden": true
}

List comments

List the comments on a post, or the replies to a comment, with who wrote them and whether they are hidden.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Post or commentobject_idtextRequired
A post, to list its comments, or a comment, to list its replies.
Includeincludetext
Comments only (the default), or comments and their replies.One of: toplevel (Comments only), stream (Comments and replies).
Orderordertext
Newest first (the default) or oldest first.One of: reverse_chronological (Newest first), chronological (Oldest first).
How manylimitnumber
How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
Next pageaftertext
To get the next page of results, use the next_cursor an earlier step returned.

Outputs

commentslist
The comments
countnumber
How many records this page holds
next_cursortext
Pass this as the next page cursor to get the next page; empty on the last page
total_countnumber
How many there are in all
Example output
{
  "comments": [
    {
      "author_id": "2207315402623286",
      "author_name": "Jo Bloggs",
      "can_hide": true,
      "created_time": "2019-05-17T17:02:11Z",
      "id": "1943344825721377_1009876543210987",
      "image_url": null,
      "is_hidden": false,
      "like_count": 2,
      "message": "This is a test comment",
      "parent_id": null,
      "permalink_url": "https://www.facebook.com/1943344825721377?comment_id=1009876543210987",
      "reply_count": 1
    }
  ],
  "count": 1,
  "next_cursor": "",
  "total_count": 1
}

List conversations

List the Page's Messenger conversations, most recent first.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
How manylimitnumber
How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
Next pageaftertext
To get the next page of results, use the next_cursor an earlier step returned.

Outputs

conversationslist
The conversations
countnumber
How many records this page holds
next_cursortext
Pass this as the next page cursor to get the next page; empty on the last page
Example output
{
  "conversations": [
    {
      "can_reply": true,
      "customer_id": "1254459154682919",
      "customer_name": "Jo Bloggs",
      "id": "t_10161337964236519",
      "link": "https://www.facebook.com/cutekittenpage/inbox/1254459154682919",
      "message_count": 4,
      "snippet": "Do you deliver on Sundays?",
      "unread_count": 1,
      "updated_time": "2026-10-20T09:15:00Z"
    }
  ],
  "count": 1,
  "next_cursor": ""
}

List messages

List the latest messages in a Messenger conversation, newest first.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Conversationconversation_idtextRequired
The conversation. Pick one of the Page's latest, by who it is with, or use one from an earlier step.
How manylimitnumber
How many of the latest messages to return, 1 to 20 (the most Facebook gives).From 1 to 20.

Outputs

conversation_idtext
The conversation
countnumber
How many records this page holds
messageslist
The messages
Example output
{
  "conversation_id": "t_10161337964236519",
  "count": 1,
  "messages": [
    {
      "created_time": "2026-10-20T09:15:00Z",
      "id": "m_AG5Hz2Uq7tuwNEhXfYYKj8mJEM_QPpz5jdCK48PnKAjSdjfipqxqMvK8ma6AC8fplwlqLP_5cgXIbu7I3rBN0P",
      "recipient_id": "1353269864728879",
      "recipient_name": "Cute Kitten Page",
      "sender_id": "1254459154682919",
      "sender_name": "Jo Bloggs",
      "sent_by_page": false,
      "text": "Do you deliver on Sundays?"
    }
  ]
}

List my Pages

List the Pages you can post and reply as.

Inputs

None.

Outputs

countnumber
How many Pages there are
pageslist
The Pages
Example output
{
  "count": 1,
  "pages": [
    {
      "category": "Brand",
      "id": "1353269864728879",
      "name": "Cute Kitten Page",
      "tasks": [
        "ANALYZE",
        "ADVERTISE",
        "MODERATE",
        "CREATE_CONTENT",
        "MANAGE"
      ]
    }
  ]
}

List posts

List a Page's published posts, its scheduled posts, or everything on it, newest first, with comment, reaction and share counts.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Which postswhichtext
Published posts (the default), scheduled ones, or everything on the Page.One of: published (Published posts), scheduled (Scheduled posts), feed (Everything on the Page, including visitors' posts).
How manylimitnumber
How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
Next pageaftertext
To get the next page of results, use the next_cursor an earlier step returned.

Outputs

countnumber
How many records this page holds
next_cursortext
Pass this as the next page cursor to get the next page; empty on the last page
postslist
The posts
Example output
{
  "count": 1,
  "next_cursor": "",
  "posts": [
    {
      "author_id": "1353269864728879",
      "author_name": "Cute Kitten Page",
      "comment_count": 5,
      "created_time": "2019-05-17T16:24:04Z",
      "id": "1353269864728879_1943344825721377",
      "is_hidden": false,
      "is_published": true,
      "message": "Become a Facebook developer!",
      "permalink_url": "https://www.facebook.com/1353269864728879_1943344825721377",
      "picture_url": null,
      "reaction_count": 42,
      "scheduled_for": null,
      "share_count": 3,
      "status_type": "mobile_status_update",
      "updated_time": "2019-05-17T16:24:04Z"
    }
  ]
}

List reviews

List the recommendations and reviews people left on the Page.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
How manylimitnumber
How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
Next pageaftertext
To get the next page of results, use the next_cursor an earlier step returned.

Outputs

countnumber
How many records this page holds
next_cursortext
Pass this as the next page cursor to get the next page; empty on the last page
reviewslist
The reviews
Example output
{
  "count": 1,
  "next_cursor": "",
  "reviews": [
    {
      "created_time": "2026-09-30T12:00:00Z",
      "has_review": true,
      "rating": null,
      "recommendation_type": "positive",
      "review_text": "Friendly and quick."
    }
  ]
}

Publish a photo

Publish a photo with a caption as the Page, now or at a time you choose.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
PhotophototextRequired
Upload a photo, pick one from an earlier step, or give a public image address. JPEG, PNG, GIF, BMP or TIFF, up to 10 MB.
Captioncaptiontext
The text shown with the photo.
Publish atpublish_atdate and time
Schedule it for later: at least 10 minutes and at most 30 days from now. Leave empty to publish straight away.

Outputs

permalink_urltext
The photo's address on Facebook
photo_idtext
The photo's id
post_idtext
The post the photo appears in; empty while it is scheduled
publish_attext
When a scheduled item goes live (UTC); empty when published now
scheduledtrue/false
Whether it was scheduled rather than published now
Example output
{
  "permalink_url": "https://www.facebook.com/1353269864728879_1002088839996",
  "photo_id": "1002088839996",
  "post_id": "1353269864728879_1002088839996",
  "publish_at": null,
  "scheduled": false
}

Publish a video

Publish a video from its web address as the Page. Facebook processes it first, so it appears a few minutes later.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Video URLvideo_urltextRequired
The public address of the video file, such as an .mp4 link. Facebook downloads and processes it.
Titletitletext
The video's title.
Descriptiondescriptiontext
The text shown with the video.
Publish atpublish_atdate and time
Schedule it for later: at least 10 minutes and at most 6 months from now. Leave empty to publish once Facebook has processed it.

Outputs

publish_attext
When a scheduled item goes live (UTC); empty when published now
scheduledtrue/false
Whether it was scheduled rather than published now
video_idtext
The video's id
Example output
{
  "publish_at": null,
  "scheduled": false,
  "video_id": "10153231379946729"
}

Reply privately to a comment

Send the person who wrote a comment a Messenger message about it, once, within 7 days of the comment.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Commentcomment_idtextRequired
The comment to answer privately. It must be under 7 days old, and each comment gets one private reply.
MessagetexttextRequired
What to send, up to 2,000 characters.

Outputs

comment_idtext
The comment answered
message_idtext
The message's id
recipient_idtext
The person's id for this Page
Example output
{
  "comment_id": "1943344825721377_1009876543210987",
  "message_id": "m_AG5Hz2Uq7tuwNEhXfYYKj8mJEM_QPpz5jdCK48PnKAjSdjfipqxqMvK8ma6AC8fplwlqLP_5cgXIbu7I3rBN0P",
  "recipient_id": "2207315402623286"
}

Reply to a comment

Reply publicly to a comment as the Page.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Commentcomment_idtextRequired
The comment, from 'List comments', the new comment trigger or the step that made it.
Messagemessagetext
What to write. Give a message, an image, or both.
Image URLimage_urltext
A public image address to attach, starting with https://.

Outputs

comment_idtext
The reply's id
parent_comment_idtext
The comment it answers
Example output
{
  "comment_id": "1009876543210987_1012345678901234",
  "parent_comment_id": "1943344825721377_1009876543210987"
}

Send a message

Send a Messenger message as the Page to someone who messaged it in the last 24 hours.

Inputs

Pagepage_idtextRequired
The Facebook Page to act as. Pick one, or give its id from an earlier step.
Recipientrecipient_idtextRequired
Who to send it to: pick someone from the Page's latest conversations, or use the sender from the new message trigger. They must have messaged the Page in the last 24 hours.
MessagetexttextRequired
What to send, up to 2,000 characters.
Kind of messagemessaging_typetext
A reply to their message (the default), or an update you send first.One of: RESPONSE (A reply to their message), UPDATE (An update you send first).

Outputs

message_idtext
The message's id
recipient_idtext
Who it was sent to
Example output
{
  "message_id": "m_AG5Hz2Uq7tuwNEhXfYYKj8mJEM_QPpz5jdCK48PnKAjSdjfipqxqMvK8ma6AC8fplwlqLP_5cgXIbu7I3rBN0P",
  "recipient_id": "1254459154682919"
}

On this page