# Facebook

> Facebook is a social media and advertising platform used by individuals and businesses to connect, share content, and promote products or services. Only s…

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](https://docs.flymy.ai/mcp/composio.md) 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.

- Provider: [Facebook](https://www.facebook.com/)

## Actions

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

| Action | What it does | Required inputs |
| --- | --- | --- |
| `FACEBOOK_ADD_PHOTOS_TO_ALBUM` | Adds 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_REACTION` | Adds a specific reaction (like, love, wow, etc.) to a facebook post or comment. | `object_id` |
| `FACEBOOK_ASSIGN_PAGE_TASK` | Assigns tasks/roles to a user for a specific facebook page. | `page_id`, `user`, `tasks` |
| `FACEBOOK_CREATE_COMMENT` | Creates a comment on a facebook post or replies to an existing comment. | `object_id`, `message` |
| `FACEBOOK_CREATE_PHOTO_ALBUM` | Creates a new photo album on a facebook page. | `page_id`, `name` |
| `FACEBOOK_CREATE_PHOTO_POST` | Creates a photo post on a facebook page. | `page_id` |
| `FACEBOOK_CREATE_POST` | Creates a new post on a facebook page. | `page_id`, `message` |
| `FACEBOOK_CREATE_VIDEO_POST` | Creates a video post on a facebook page. | `page_id` |
| `FACEBOOK_DELETE_COMMENT` | Deletes a facebook comment. | `comment_id` |
| `FACEBOOK_DELETE_POST` | Deletes a facebook page post. | `post_id` |
| `FACEBOOK_GET_COMMENT` | Retrieves details of a specific facebook comment. | `comment_id` |
| `FACEBOOK_GET_COMMENTS` | Retrieves comments from a facebook post or comment (for replies). | `object_id` |
| `FACEBOOK_GET_CONVERSATION_MESSAGES` | Retrieves messages from a specific conversation. | `conversation_id` |
| `FACEBOOK_GET_MESSAGE_DETAILS` | Retrieves details of a specific message sent or received by the page. | `message_id` |
| `FACEBOOK_GET_PAGE_CONVERSATIONS` | Retrieves a list of conversations between users and the page. | `page_id` |
| `FACEBOOK_GET_PAGE_DETAILS` | Fetches details about a specific facebook page. | `page_id` |
| `FACEBOOK_GET_PAGE_INSIGHTS` | Retrieves analytics and insights for a facebook page. | `page_id` |
| `FACEBOOK_GET_PAGE_PHOTOS` | Retrieves photos from a facebook page. | `page_id` |
| `FACEBOOK_GET_PAGE_POSTS` | Retrieves posts from a facebook page. | `page_id` |
| `FACEBOOK_GET_PAGE_ROLES` | Retrieves a list of people and their tasks/roles on a facebook page. | `page_id` |
| `FACEBOOK_GET_PAGE_VIDEOS` | Retrieves videos from a facebook page. | `page_id` |
| `FACEBOOK_GET_POST` | Retrieves details of a specific facebook post. | `post_id` |
| `FACEBOOK_GET_POST_INSIGHTS` | Retrieves analytics and insights for a specific facebook post. | `post_id` |
| `FACEBOOK_GET_POST_REACTIONS` | Retrieves reactions (like, love, wow, etc.) for a facebook post. | `post_id` |
| `FACEBOOK_GET_SCHEDULED_POSTS` | Retrieves scheduled and unpublished posts for a facebook page. | `page_id` |
| `FACEBOOK_GET_USER_PAGES` | Retrieves a list of pages the user manages, including tasks and access tokens. | - |
| `FACEBOOK_LIKE_POST_OR_COMMENT` | Likes a facebook post or comment. | `object_id` |
| `FACEBOOK_MARK_MESSAGE_SEEN` | Marks a user's message as seen by the page. | `page_id`, `recipient_id` |
| `FACEBOOK_PUBLISH_SCHEDULED_POST` | Publishes a previously scheduled or unpublished facebook post immediately. | `post_id` |
| `FACEBOOK_REMOVE_PAGE_TASK` | Removes a user's tasks/access from a specific facebook page. | `page_id`, `user` |
| `FACEBOOK_RESCHEDULE_POST` | Changes the scheduled publish time of an unpublished facebook post. | `post_id`, `scheduled_publish_time` |
| `FACEBOOK_SEND_MEDIA_MESSAGE` | Sends a media message (image, video, audio, or file) from the page to a user. | `page_id`, `recipient_id`, `media_type`, `media_url` |
| `FACEBOOK_SEND_MESSAGE` | Sends a text message from the page to a user via messenger. | `page_id`, `recipient_id`, `message_text` |
| `FACEBOOK_TOGGLE_TYPING_INDICATOR` | Shows or hides the typing indicator for a user in messenger. | `page_id`, `recipient_id`, `typing_on` |
| `FACEBOOK_UNLIKE_POST_OR_COMMENT` | Removes a like from a facebook post or comment. | `object_id` |
| `FACEBOOK_UPDATE_COMMENT` | Updates an existing facebook comment. | `comment_id`, `message` |
| `FACEBOOK_UPDATE_PAGE_SETTINGS` | Updates settings for a specific facebook page. | `page_id` |
| `FACEBOOK_UPDATE_POST` | Updates an existing facebook page post. | `post_id` |
| `FACEBOOK_UPLOAD_PHOTO` | Uploads a photo file directly to a facebook page. supports local file upload up to 10mb. | `page_id` |
| `FACEBOOK_UPLOAD_PHOTOS_BATCH` | Uploads 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_VIDEO` | Uploads a video file directly to a facebook page. supports local file upload. for large videos (&gt;100mb), uses resumable upload. | `page_id`, `video` |

## Links

- [Facebook website](https://www.facebook.com/)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
