Overview
SLUG: FACEBOOK
Description
Facebook is a social media and advertising platform used by individuals and businesses to connect, share content, and promote products or services
Authentication Details
OAuth2
Connecting to Facebook
Create an auth config
Use the dashboard to create an auth config for the Facebook toolkit. This allows you to connect multiple Facebook accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Facebook Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Facebook toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
FACEBOOK_ADD_PHOTOS_TO_ALBUM
Tool Name: Add Photos to Album
Description
Action Parameters
Action Response
FACEBOOK_CREATE_COMMENT
Tool Name: Create Comment
Description
Action Parameters
Action Response
FACEBOOK_CREATE_PHOTO_ALBUM
Tool Name: Create Photo Album
Description
Action Parameters
Action Response
FACEBOOK_CREATE_PHOTO_POST
Tool Name: Create Photo Post
Description
Action Parameters
Action Response
FACEBOOK_CREATE_POST
Tool Name: Create Post
Description
Action Parameters
Action Response
FACEBOOK_CREATE_VIDEO_POST
Tool Name: Create Video Post
Description
Action Parameters
Action Response
FACEBOOK_GET_COMMENTS
Tool Name: Get Comments
Description
Action Parameters
Action Response
FACEBOOK_GET_CONVERSATION_MESSAGES
Tool Name: Get Conversation Messages
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_CONVERSATIONS
Tool Name: Get Page Conversations
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_POSTS
Tool Name: Get Page Posts
Description
Action Parameters
Action Response
FACEBOOK_GET_POST
Tool Name: Get Post
Description
Action Parameters
Action Response
FACEBOOK_LIKE_POST_OR_COMMENT
Tool Name: Like Post or Comment
Description
Action Parameters
Action Response
FACEBOOK_SEND_MEDIA_MESSAGE
Tool Name: Send Media Message
Description
Action Parameters
Action Response
FACEBOOK_SEND_MESSAGE
Tool Name: Send Message
Description
Action Parameters
Action Response
FACEBOOK_UNLIKE_POST_OR_COMMENT
Tool Name: Unlike Post or Comment
Description
Action Parameters
Action Response
FACEBOOK_UPLOAD_PHOTO
Tool Name: Upload Photo
Description
Action Parameters
Action Response
FACEBOOK_UPLOAD_PHOTOS_BATCH
Tool Name: Upload Photos Batch
Description
Action Parameters
Action Response
FACEBOOK_UPLOAD_VIDEO
Tool Name: Upload Video
Description
Action Parameters
Action Response
FACEBOOK_ADD_REACTION
Tool Name: Add Reaction
Description
Action Parameters
Action Response
FACEBOOK_ASSIGN_PAGE_TASK
Tool Name: Assign Page Task
Description
Action Parameters
Action Response
FACEBOOK_DELETE_COMMENT
Tool Name: Delete Comment
Description
Action Parameters
Action Response
FACEBOOK_DELETE_POST
Tool Name: Delete Post
Description
Action Parameters
Action Response
FACEBOOK_GET_COMMENT
Tool Name: Get Comment
Description
Action Parameters
Action Response
FACEBOOK_GET_MESSAGE_DETAILS
Tool Name: Get Message Details
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_DETAILS
Tool Name: Get Page Details
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_INSIGHTS
Tool Name: Get Page Insights
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_PHOTOS
Tool Name: Get Page Photos
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_ROLES
Tool Name: Get Page Roles
Description
Action Parameters
Action Response
FACEBOOK_GET_PAGE_VIDEOS
Tool Name: Get Page Videos
Description
Action Parameters
Action Response
FACEBOOK_GET_POST_INSIGHTS
Tool Name: Get Post Insights
Description
Action Parameters
Action Response
FACEBOOK_GET_POST_REACTIONS
Tool Name: Get Post Reactions
Description
Action Parameters
Action Response
FACEBOOK_GET_SCHEDULED_POSTS
Tool Name: Get Scheduled Posts
Description
Action Parameters
Action Response
FACEBOOK_GET_USER_PAGES
Tool Name: Get User Pages
Description
Action Parameters
Action Response
FACEBOOK_MARK_MESSAGE_SEEN
Tool Name: Mark Message Seen
Description
Action Parameters
Action Response
FACEBOOK_PUBLISH_SCHEDULED_POST
Tool Name: Publish Scheduled Post
Description
Action Parameters
Action Response
FACEBOOK_REMOVE_PAGE_TASK
Tool Name: Remove Page Task
Description
Action Parameters
Action Response
FACEBOOK_RESCHEDULE_POST
Tool Name: Reschedule Post
Description
Action Parameters
Action Response
FACEBOOK_TOGGLE_TYPING_INDICATOR
Tool Name: Toggle Typing Indicator
Description
Action Parameters
Action Response
FACEBOOK_UPDATE_COMMENT
Tool Name: Update Comment
Description
Action Parameters
Action Response
FACEBOOK_UPDATE_PAGE_SETTINGS
Tool Name: Update Page Settings
Description
Action Parameters
Action Response
FACEBOOK_UPDATE_POST
Tool Name: Update Post
Description
Action Parameters
Action Response