Skip to main content
Facebook logo

Facebook

Facebook is a social media and advertising platform used by individuals and businesses to connect, share content, and promote products or services. Only supports Facebook Pages, not Facebook Personal accounts.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

Facebook connects with a single OAuth click - there is no token to paste. The first time an agent uses a Facebook action, FlyMyAI asks you to authorize your Facebook account. Approve it once and the connection is reused for every later run.

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
FACEBOOK_ADD_PHOTOS_TO_ALBUMAdds photos to an existing facebook album. note: currently adds one photo at a time. for true batch upload, use facebook's batch api endpoint directly.album_id
FACEBOOK_ADD_REACTIONAdds a specific reaction (like, love, wow, etc.) to a facebook post or comment.object_id
FACEBOOK_ASSIGN_PAGE_TASKAssigns tasks/roles to a user for a specific facebook page.page_id, user, tasks
FACEBOOK_CREATE_COMMENTCreates a comment on a facebook post or replies to an existing comment.object_id, message
FACEBOOK_CREATE_PHOTO_ALBUMCreates a new photo album on a facebook page.page_id, name
FACEBOOK_CREATE_PHOTO_POSTCreates a photo post on a facebook page.page_id
FACEBOOK_CREATE_POSTCreates a new post on a facebook page.page_id, message
FACEBOOK_CREATE_VIDEO_POSTCreates a video post on a facebook page.page_id
FACEBOOK_DELETE_COMMENTDeletes a facebook comment.comment_id
FACEBOOK_DELETE_POSTDeletes a facebook page post.post_id
FACEBOOK_GET_COMMENTRetrieves details of a specific facebook comment.comment_id
FACEBOOK_GET_COMMENTSRetrieves comments from a facebook post or comment (for replies).object_id
FACEBOOK_GET_CONVERSATION_MESSAGESRetrieves messages from a specific conversation.conversation_id
FACEBOOK_GET_MESSAGE_DETAILSRetrieves details of a specific message sent or received by the page.message_id
FACEBOOK_GET_PAGE_CONVERSATIONSRetrieves a list of conversations between users and the page.page_id
FACEBOOK_GET_PAGE_DETAILSFetches details about a specific facebook page.page_id
FACEBOOK_GET_PAGE_INSIGHTSRetrieves analytics and insights for a facebook page.page_id
FACEBOOK_GET_PAGE_PHOTOSRetrieves photos from a facebook page.page_id
FACEBOOK_GET_PAGE_POSTSRetrieves posts from a facebook page.page_id
FACEBOOK_GET_PAGE_ROLESRetrieves a list of people and their tasks/roles on a facebook page.page_id
FACEBOOK_GET_PAGE_VIDEOSRetrieves videos from a facebook page.page_id
FACEBOOK_GET_POSTRetrieves details of a specific facebook post.post_id
FACEBOOK_GET_POST_INSIGHTSRetrieves analytics and insights for a specific facebook post.post_id
FACEBOOK_GET_POST_REACTIONSRetrieves reactions (like, love, wow, etc.) for a facebook post.post_id
FACEBOOK_GET_SCHEDULED_POSTSRetrieves scheduled and unpublished posts for a facebook page.page_id
FACEBOOK_GET_USER_PAGESRetrieves a list of pages the user manages, including tasks and access tokens.-
FACEBOOK_LIKE_POST_OR_COMMENTLikes a facebook post or comment.object_id
FACEBOOK_MARK_MESSAGE_SEENMarks a user's message as seen by the page.page_id, recipient_id
FACEBOOK_PUBLISH_SCHEDULED_POSTPublishes a previously scheduled or unpublished facebook post immediately.post_id
FACEBOOK_REMOVE_PAGE_TASKRemoves a user's tasks/access from a specific facebook page.page_id, user
FACEBOOK_RESCHEDULE_POSTChanges the scheduled publish time of an unpublished facebook post.post_id, scheduled_publish_time
FACEBOOK_SEND_MEDIA_MESSAGESends a media message (image, video, audio, or file) from the page to a user.page_id, recipient_id, media_type, media_url
FACEBOOK_SEND_MESSAGESends a text message from the page to a user via messenger.page_id, recipient_id, message_text
FACEBOOK_TOGGLE_TYPING_INDICATORShows or hides the typing indicator for a user in messenger.page_id, recipient_id, typing_on
FACEBOOK_UNLIKE_POST_OR_COMMENTRemoves a like from a facebook post or comment.object_id
FACEBOOK_UPDATE_COMMENTUpdates an existing facebook comment.comment_id, message
FACEBOOK_UPDATE_PAGE_SETTINGSUpdates settings for a specific facebook page.page_id
FACEBOOK_UPDATE_POSTUpdates an existing facebook page post.post_id
FACEBOOK_UPLOAD_PHOTOUploads a photo file directly to a facebook page. supports local file upload up to 10mb.page_id
FACEBOOK_UPLOAD_PHOTOS_BATCHUploads multiple photo files in batch to a facebook page or album. uses facebook's batch api for efficient multi-photo upload. maximum 50 photos per batch.page_id
FACEBOOK_UPLOAD_VIDEOUploads a video file directly to a facebook page. supports local file upload. for large videos (>100mb), uses resumable upload.page_id, video
We love our partners - FlyMy.AI builds with the best. Thanks, Facebook!