Facebook
Read Facebook profile and manage Page feed, media, and comments through Graph API.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "FACEBOOK_ADD_REACTION", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("FACEBOOK_ADD_REACTION", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute FACEBOOK_ADD_REACTION --data '{ }'Tool 目录
可用 Tools
39 个可调用操作
Add ReactionFACEBOOK_ADD_REACTIONAdds a LIKE reaction to a Facebook post or comment.需要连接2 scopes
Adds a LIKE reaction to a Facebook post or comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
Assign Page TaskFACEBOOK_ASSIGN_PAGE_TASKAssigns tasks to a business-scoped user or system user for a Facebook Page.需要连接2 scopes
Assigns tasks to a business-scoped user or system user for a Facebook Page.
认证
需要 Connected AccountScopes
business_managementpages_manage_metadataTags
Create CommentFACEBOOK_CREATE_COMMENTCreates a comment on a Facebook post or replies to an existing comment.需要连接2 scopes
Creates a comment on a Facebook post or replies to an existing comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
Create Photo AlbumFACEBOOK_CREATE_PHOTO_ALBUMCreates a photo album on a Facebook Page.需要连接2 scopes
Creates a photo album on a Facebook Page.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Create Photo PostFACEBOOK_CREATE_PHOTO_POSTCreates a photo post on a Facebook Page from a provider-fetchable media URL.需要连接2 scopes
Creates a photo post on a Facebook Page from a provider-fetchable media URL.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Create PostFACEBOOK_CREATE_POSTCreates a text or link post on a Facebook Page.需要连接2 scopes
Creates a text or link post on a Facebook Page.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Create Video PostFACEBOOK_CREATE_VIDEO_POSTCreates a video post on a Facebook Page from a provider-fetchable video URL.需要连接2 scopes
Creates a video post on a Facebook Page from a provider-fetchable video URL.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Delete CommentFACEBOOK_DELETE_COMMENTDeletes a Facebook comment.需要连接2 scopes
Deletes a Facebook comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
Delete PostFACEBOOK_DELETE_POSTPermanently deletes a Facebook Page post.需要连接2 scopes
Permanently deletes a Facebook Page post.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Get CommentFACEBOOK_GET_COMMENTRetrieves a specific Facebook comment.需要连接1 scope
Retrieves a specific Facebook comment.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get CommentsFACEBOOK_GET_COMMENTSRetrieves comments from a Facebook post or replies from a comment.需要连接1 scope
Retrieves comments from a Facebook post or replies from a comment.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Conversation MessagesFACEBOOK_GET_CONVERSATION_MESSAGESRetrieves messages from a Page conversation.需要连接1 scope
Retrieves messages from a Page conversation.
认证
需要 Connected AccountScopes
pages_messagingTags
Get Current UserFACEBOOK_GET_CURRENT_USERValidates the access token and retrieves the authenticated user's profile through /me.需要连接1 scope
Validates the access token and retrieves the authenticated user's profile through /me.
认证
需要 Connected AccountScopes
public_profileTags
Get Message DetailsFACEBOOK_GET_MESSAGE_DETAILSRetrieves a specific Page conversation message.需要连接1 scope
Retrieves a specific Page conversation message.
认证
需要 Connected AccountScopes
pages_messagingTags
Get Page ConversationsFACEBOOK_GET_PAGE_CONVERSATIONSLists conversations between users and a Facebook Page.需要连接1 scope
Lists conversations between users and a Facebook Page.
认证
需要 Connected AccountScopes
pages_messagingTags
Get Page DetailsFACEBOOK_GET_PAGE_DETAILSFetches details about a Facebook Page.需要连接1 scope
Fetches details about a Facebook Page.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Page InsightsFACEBOOK_GET_PAGE_INSIGHTSRetrieves analytics and insights for a Facebook Page.需要连接2 scopes
Retrieves analytics and insights for a Facebook Page.
认证
需要 Connected AccountScopes
read_insightspages_read_engagementTags
Get Page PhotosFACEBOOK_GET_PAGE_PHOTOSRetrieves photos from a Facebook Page.需要连接1 scope
Retrieves photos from a Facebook Page.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Page PostsFACEBOOK_GET_PAGE_POSTSRetrieves posts published by a Facebook Page.需要连接1 scope
Retrieves posts published by a Facebook Page.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Page RolesFACEBOOK_GET_PAGE_ROLESLists people and their tasks on a Facebook Page.需要连接2 scopes
Lists people and their tasks on a Facebook Page.
认证
需要 Connected AccountScopes
business_managementpages_manage_metadataTags
Get Page Tagged PostsFACEBOOK_GET_PAGE_TAGGED_POSTSRetrieves posts where a Facebook Page is tagged or mentioned.需要连接1 scope
Retrieves posts where a Facebook Page is tagged or mentioned.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Page VideosFACEBOOK_GET_PAGE_VIDEOSRetrieves videos from a Facebook Page.需要连接1 scope
Retrieves videos from a Facebook Page.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get PostFACEBOOK_GET_POSTRetrieves a specific Facebook post.需要连接1 scope
Retrieves a specific Facebook post.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Post InsightsFACEBOOK_GET_POST_INSIGHTSRetrieves analytics and insights for a Facebook post.需要连接2 scopes
Retrieves analytics and insights for a Facebook post.
认证
需要 Connected AccountScopes
read_insightspages_read_engagementTags
Get Post ReactionsFACEBOOK_GET_POST_REACTIONSRetrieves reactions to a Facebook post or comment.需要连接1 scope
Retrieves reactions to a Facebook post or comment.
认证
需要 Connected AccountScopes
pages_read_engagementTags
Get Scheduled PostsFACEBOOK_GET_SCHEDULED_POSTSRetrieves scheduled and unpublished posts for a Facebook Page.需要连接2 scopes
Retrieves scheduled and unpublished posts for a Facebook Page.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
List Managed PagesFACEBOOK_LIST_MANAGED_PAGESLists Facebook Pages managed by the authenticated user, including Page details and assigned tasks. Access tokens are intentionally not returned.需要连接1 scope
Lists Facebook Pages managed by the authenticated user, including Page details and assigned tasks. Access tokens are intentionally not returned.
认证
需要 Connected AccountScopes
pages_show_listTags
Mark Message SeenFACEBOOK_MARK_MESSAGE_SEENMarks a user's Messenger conversation as seen by the Page.需要连接1 scope
Marks a user's Messenger conversation as seen by the Page.
认证
需要 Connected AccountScopes
pages_messagingTags
Publish Scheduled PostFACEBOOK_PUBLISH_SCHEDULED_POSTPublishes a scheduled or unpublished Facebook Page post immediately.需要连接2 scopes
Publishes a scheduled or unpublished Facebook Page post immediately.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Remove Page TaskFACEBOOK_REMOVE_PAGE_TASKRemoves a user's assigned tasks from a Facebook Page.需要连接2 scopes
Removes a user's assigned tasks from a Facebook Page.
认证
需要 Connected AccountScopes
business_managementpages_manage_metadataTags
Reschedule PostFACEBOOK_RESCHEDULE_POSTChanges the scheduled publish time of an unpublished Facebook post.需要连接2 scopes
Changes the scheduled publish time of an unpublished Facebook post.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Send Media MessageFACEBOOK_SEND_MEDIA_MESSAGESends an image, video, audio, or file URL from a Facebook Page to a Messenger user.需要连接1 scope
Sends an image, video, audio, or file URL from a Facebook Page to a Messenger user.
认证
需要 Connected AccountScopes
pages_messagingTags
Send MessageFACEBOOK_SEND_MESSAGESends a text message from a Facebook Page to a Messenger user.需要连接1 scope
Sends a text message from a Facebook Page to a Messenger user.
认证
需要 Connected AccountScopes
pages_messagingTags
Toggle Typing IndicatorFACEBOOK_TOGGLE_TYPING_INDICATORShows or hides the Messenger typing indicator for a user.需要连接1 scope
Shows or hides the Messenger typing indicator for a user.
认证
需要 Connected AccountScopes
pages_messagingTags
Unlike Post or CommentFACEBOOK_UNLIKE_POST_OR_COMMENTRemoves the authenticated Page's like from a Facebook post or comment.需要连接2 scopes
Removes the authenticated Page's like from a Facebook post or comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
Update CommentFACEBOOK_UPDATE_COMMENTUpdates an existing Facebook comment.需要连接2 scopes
Updates an existing Facebook comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
Update Page SettingsFACEBOOK_UPDATE_PAGE_SETTINGSUpdates settings for a Facebook Page.需要连接1 scope
Updates settings for a Facebook Page.
认证
需要 Connected AccountScopes
pages_manage_metadataTags
Update PostFACEBOOK_UPDATE_POSTUpdates the message of an existing Facebook Page post.需要连接2 scopes
Updates the message of an existing Facebook Page post.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags
Upload Photos BatchFACEBOOK_UPLOAD_PHOTOS_BATCHUploads multiple photo URLs to a Facebook Page or album as unpublished photos and returns every provider result.需要连接2 scopes
Uploads multiple photo URLs to a Facebook Page or album as unpublished photos and returns every provider result.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementTags