Skip to content

Facebook ​

Connect a Facebook account to manage Pages: posts, comments, messages, insights, and ads.

Connection ​

  • Auth type: oauth2

Scopes requested:

  • pages_show_list
  • pages_read_engagement
  • pages_read_user_content
  • pages_manage_posts
  • pages_manage_engagement
  • pages_manage_metadata
  • pages_messaging
  • read_insights
  • business_management
  • ads_read
  • ads_management

Actions ​

ActionKeyGroupSide effectRiskApproval
Get Page detailsfacebook.get_page_detailsPagesNONElowno
Get Page insightsfacebook.get_page_insightsPagesNONElowno
Get Page photosfacebook.get_page_photosPagesNONElowno
Get Page postsfacebook.get_page_postsPagesNONElowno
Get Page videosfacebook.get_page_videosPagesNONElowno
Get Page rolesfacebook.get_page_rolesPagesNONElowno
Get tagged postsfacebook.get_page_tagged_postsPagesNONElowno
List Page storiesfacebook.list_page_storiesPagesNONElowno
Search Pagesfacebook.search_pagesPagesNONElowno
List video thumbnailsfacebook.list_video_thumbnailsPagesNONElowno
Update Page settingsfacebook.update_page_settingsPagesWRITEhighyes
Assign Page tasksfacebook.assign_page_taskPagesWRITEhighyes
Remove Page tasksfacebook.remove_page_taskPagesWRITEhighyes
List managed Pagesfacebook.list_managed_pagesPagesNONElowno
Get postfacebook.get_postPostsNONElowno
Get post insightsfacebook.get_post_insightsPostsNONElowno
Get post reactionsfacebook.get_post_reactionsPostsNONElowno
Get scheduled postsfacebook.get_scheduled_postsPostsNONElowno
Create postfacebook.create_postPostsWRITEhighyes
Create photo postfacebook.create_photo_postPostsWRITEhighyes
Update postfacebook.update_postPostsWRITEhighyes
Delete postfacebook.delete_postPostsWRITEhighyes
Publish scheduled post nowfacebook.publish_scheduled_postPostsWRITEhighyes
Reschedule postfacebook.reschedule_postPostsWRITEmediumno
Refresh URL previewfacebook.refresh_url_scrapePostsWRITElowno
Create multi-photo postfacebook.create_multi_photo_postPostsWRITEhighyes
Create video postfacebook.create_video_postPostsWRITEhighyes
Upload photos in batchfacebook.upload_photos_batchPostsWRITEhighyes
Get commentfacebook.get_commentCommentsNONElowno
Get commentsfacebook.get_commentsCommentsNONElowno
Create commentfacebook.create_commentCommentsWRITEhighyes
Update commentfacebook.update_commentCommentsWRITEmediumno
Delete commentfacebook.delete_commentCommentsWRITEhighyes
Like post or commentfacebook.like_post_or_commentCommentsWRITElowno
Unlike post or commentfacebook.unlike_post_or_commentCommentsWRITElowno
Get Page conversationsfacebook.get_page_conversationsMessengerNONElowno
Get conversation messagesfacebook.get_conversation_messagesMessengerNONElowno
Get message detailsfacebook.get_message_detailsMessengerNONElowno
Send Messenger text messagefacebook.send_messageMessengerWRITEhighyes
Send Messenger media messagefacebook.send_media_messageMessengerWRITEhighyes
Mark message seenfacebook.mark_message_seenMessengerWRITElowno
Toggle typing indicatorfacebook.toggle_typing_indicatorMessengerWRITElowno
List granted permissionsfacebook.list_permissionsBusiness and adsNONElowno
List businessesfacebook.list_businessesBusiness and adsNONElowno
List business-owned Pagesfacebook.list_owned_pagesBusiness and adsNONElowno
List business client Pagesfacebook.list_client_pagesBusiness and adsNONElowno
List ad accountsfacebook.list_ad_accountsBusiness and adsNONElowno
List business-owned ad accountsfacebook.list_owned_ad_accountsBusiness and adsNONElowno
List adsfacebook.list_adsBusiness and adsNONElowno
Get ad insightsfacebook.get_ad_insightsBusiness and adsNONElowno
Search targeting locationsfacebook.search_geographic_targeting_locationsBusiness and adsNONElowno
Get current userfacebook.get_current_userBusiness and adsNONElowno
Get Graph objectfacebook.get_graph_objectBusiness and adsNONElowno
Get Graph objectsfacebook.get_graph_objectsBusiness and adsNONElowno

Events ​

facebook.message_received ​

Someone sent a Messenger message to a connected Page. Echoes of the Page's own messages are skipped.

FieldTypeDescription
page_idstring
senderobject
sender.idstringPage-scoped user id (PSID)
messageobject
message.midstring
message.textstring
message.attachmentsarray of object
message.attachments[].typestring
message.attachments[].urlstring
timestampinteger

facebook.message_postback ​

Someone tapped a postback button (persistent menu, Get Started, or a button in a message) on a connected Page.

FieldTypeDescription
page_idstring
senderobject
sender.idstringPage-scoped user id (PSID)
postbackobject
postback.titlestring
postback.payloadstring
timestampinteger

facebook.comment_added ​

Someone commented on a post of a connected Page. Comments written by the Page itself are skipped.

FieldTypeDescription
page_idstring
post_idstring
commentobject
comment.idstring
comment.parent_idstring
comment.messagestring
comment.fromobject
comment.from.idstring
comment.from.namestring
created_timeinteger