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
| Action | What it does |
|---|---|
| Comment on a post | Comment on a post as the Page, with text, an image, or both. |
| Count reactions | Count the reactions on a post or comment: all of them, or one kind. |
| Create a post | Publish a text or link post as the Page, now or at a time you choose. |
| Delete a comment | Delete a comment or reply on the Page's posts for good. |
| Delete a post | Delete a post, photo or video from the Page for good. |
| Edit a post | Change the text of a post a workflow published. |
| Get a post | Get one post with its text, link, picture and counts. |
| Get Page details | Get a Page's name, category, contact details, followers and rating. |
| Get Page insights | Get a Page's views, viewers, engagement, follows and video views, day by day, week by week or over 28 days. |
| Get post insights | Get a post's views, viewers, clicks, reactions and video views. |
| Hide or show a comment | Hide a comment on the Page's posts, or show a hidden one again. |
| List comments | List the comments on a post, or the replies to a comment, with who wrote them and whether they are hidden. |
| List conversations | List the Page's Messenger conversations, most recent first. |
| List messages | List the latest messages in a Messenger conversation, newest first. |
| List my Pages | List the Pages you can post and reply as. |
| List posts | List a Page's published posts, its scheduled posts, or everything on it, newest first, with comment, reaction and share counts. |
| List reviews | List the recommendations and reviews people left on the Page. |
| Publish a photo | Publish a photo with a caption as the Page, now or at a time you choose. |
| Publish a video | Publish a video from its web address as the Page. |
| Reply privately to a comment | Send the person who wrote a comment a Messenger message about it, once, within 7 days of the comment. |
| Reply to a comment | Reply publicly to a comment as the Page. |
| Send a message | Send 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post
post_idtextRequired - The post. Pick one of the Page's latest, or use one from an earlier step.
- Message
messagetext - What to write. Give a message, an image, or both.
- Image URL
image_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post or comment
object_idtextRequired - The post or comment to count reactions on.
- Reaction
reaction_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Message
messagetext - The post's text. Give a message, a link, or both.
- Link
linktext - A web address to share. Facebook shows a preview of the page it points to.
- Publish at
publish_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Comment
comment_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post
post_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post
post_idtextRequired - The post. Pick one of the Page's latest, or use one from an earlier step.
- New message
messagetextRequired - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post
post_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
- Page
page_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Metrics
metricslistRequired - 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). - Period
periodtext - 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). - From
sincedate - The first day to include. With no dates, Facebook gives the last few days.
- To
untildate - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post
post_idtextRequired - The post. Pick one of the Page's latest, or use one from an earlier step.
- Metrics
metricslistRequired - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Comment
comment_idtextRequired - The comment, from 'List comments', the new comment trigger or the step that made it.
- Visibility
visibilitytextRequired - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Post or comment
object_idtextRequired - A post, to list its comments, or a comment, to list its replies.
- Include
includetext - Comments only (the default), or comments and their replies.One of:
toplevel(Comments only),stream(Comments and replies). - Order
ordertext - Newest first (the default) or oldest first.One of:
reverse_chronological(Newest first),chronological(Oldest first). - How many
limitnumber - How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
- Next page
aftertext - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- How many
limitnumber - How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
- Next page
aftertext - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Conversation
conversation_idtextRequired - The conversation. Pick one of the Page's latest, by who it is with, or use one from an earlier step.
- How many
limitnumber - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Which posts
whichtext - 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 many
limitnumber - How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
- Next page
aftertext - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- How many
limitnumber - How many to return, 1 to 100. Facebook's default is 25.From 1 to 100.
- Next page
aftertext - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Photo
phototextRequired - 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.
- Caption
captiontext - The text shown with the photo.
- Publish at
publish_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Video URL
video_urltextRequired - The public address of the video file, such as an .mp4 link. Facebook downloads and processes it.
- Title
titletext - The video's title.
- Description
descriptiontext - The text shown with the video.
- Publish at
publish_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Comment
comment_idtextRequired - The comment to answer privately. It must be under 7 days old, and each comment gets one private reply.
- Message
texttextRequired - 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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Comment
comment_idtextRequired - The comment, from 'List comments', the new comment trigger or the step that made it.
- Message
messagetext - What to write. Give a message, an image, or both.
- Image URL
image_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
- Page
page_idtextRequired - The Facebook Page to act as. Pick one, or give its id from an earlier step.
- Recipient
recipient_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.
- Message
texttextRequired - What to send, up to 2,000 characters.
- Kind of message
messaging_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"
}