# Facebook AI integration on Definable

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

## What this connects

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.

Vendor: https://www.facebook.com/

## Tools available

**43** tools available. First 12:

- `FACEBOOK_ASSIGN_PAGE_TASK` — Assign Page Task — Assigns tasks/roles to a business-scoped user or system user for a specific Facebook Page. Important: This action requires a business-scoped user ID or system user ID from Facebook Business Manager. Regular Facebook user IDs cannot be used. The page must also be managed through Facebook Business Manager for this action to work. Required permissions: business_management, pages_manage_metadata
- `FACEBOOK_CREATE_COMMENT` — Create Comment — Creates a comment on a Facebook post or replies to an existing comment.
- `FACEBOOK_CREATE_PHOTO_ALBUM` — Create Photo Album — Creates a new photo album on a Facebook Page. Note: This endpoint requires the 'pages_manage_posts' permission or equivalent permissions to be granted to your Facebook application. This action is publicly visible on the Page; confirm with the user before calling.
- `FACEBOOK_CREATE_PHOTO_POST` — Create Photo Post — Creates a photo post on a Facebook Page. Requires an image to be provided via either 'url' (publicly accessible image URL) or 'photo' (local image file upload). This action is specifically for posting images with optional captions, not text-only posts. Returns a composite post_id (PageID_PostID); use this for follow-up operations, not the photo/media id alone.
- `FACEBOOK_CREATE_POST` — Create Post — Creates a new text or link post on a Facebook Page. Requires `pages_manage_posts` permission and manage-level Page role on the target Page. For image posts use FACEBOOK_CREATE_PHOTO_POST; for video posts use FACEBOOK_CREATE_VIDEO_POST — media fields are not supported here. Returns a composite post ID in `PageID_PostID` format, required for FACEBOOK_GET_POST retrieval.
- `FACEBOOK_CREATE_VIDEO_POST` — Create Video Post — Creates a video post on a Facebook Page. Requires a Page access token with `pages_manage_posts` scope and manage-level permissions on the target page.
- `FACEBOOK_DELETE_COMMENT` — Delete Comment — Deletes a Facebook comment. Requires a Page Access Token with appropriate permissions for comments on Page-owned content. The page_id parameter helps ensure the correct page token is used for authentication.
- `FACEBOOK_DELETE_POST` — Delete Post — Permanently deletes a Facebook Page post. Deletion is irreversible — deleted posts cannot be recovered. For bulk deletions, keep throughput to ~1 delete/second to avoid Graph API rate limits.
- `FACEBOOK_GET_COMMENT` — Get Comment — Retrieves details of a specific Facebook comment.
- `FACEBOOK_GET_COMMENTS` — Get Comments — Retrieves comments from a Facebook post or comment (for replies). This endpoint requires appropriate permissions: - For page-owned posts: A Page Access Token with 'pages_read_engagement' permission - The API automatically swaps user tokens for page tokens when available API Version: Uses v23.0 which was released May 2025.
- `FACEBOOK_GET_CONVERSATION_MESSAGES` — Get Conversation Messages — Retrieves messages from a specific conversation.
- `FACEBOOK_GET_CURRENT_USER` — Get Current User — Validates the access token and retrieves the authenticated user's own profile via /me. Cannot fetch arbitrary users by name or ID.

## Auth

Auth schemes: `OAUTH2`. Managed by Definable: `OAUTH2` — no client credentials required from the user.

## How agents use Facebook

Inside a Definable workflow, Facebook is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Facebook** — the Researcher (GPT-5.5) pulls context from Facebook (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Facebook** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Facebook (create record, post message, draft email).
- **Designer / Engineer → Distributor → Facebook** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Facebook (attach file, open PR comment, post status).

The Verifier checks every Facebook call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- social media accounts — https://definable.ai/apps/category/social-media-accounts/
- social media marketing — https://definable.ai/apps/category/social-media-marketing/

## Related

- HTML page: https://definable.ai/apps/facebook/
- Same category (social media accounts): https://definable.ai/apps/category/social-media-accounts/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
