Connect to Facebook to read the user profile.
facebookv1.0.08 个 Tools
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| 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_COMMENT_DELETE", 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_COMMENT_DELETE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute FACEBOOK_COMMENT_DELETE --data '{ }'Tool 目录
可用 Tools
8 个可调用操作
Delete Facebook commentFACEBOOK_COMMENT_DELETEDeletes a Facebook comment when the connected Page context has moderation permissions.需要连接2 scopes
Deletes a Facebook comment when the connected Page context has moderation permissions.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
commentsmoderationdelete
Update Facebook commentFACEBOOK_COMMENT_UPDATEUpdates a Facebook comment message or hides/unhides a Page comment.需要连接2 scopes
Updates a Facebook comment message or hides/unhides a Page comment.
认证
需要 Connected AccountScopes
pages_manage_engagementpages_read_engagementTags
commentsmoderationwrite
Get Facebook profileFACEBOOK_GET_MEGets the authenticated Facebook user's profile from Graph API.需要连接2 scopes
Gets the authenticated Facebook user's profile from Graph API.
认证
需要 Connected AccountScopes
emailpublic_profileTags
profileread
Create Facebook page feed postFACEBOOK_PAGE_FEED_CREATEPublishes or schedules a post on a Facebook Page feed.需要连接3 scopes
Publishes or schedules a post on a Facebook Page feed.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementpages_show_listTags
pagesfeedwrite
List Facebook page feedFACEBOOK_PAGE_FEED_LISTLists recent posts from a Facebook Page feed.需要连接1 scope
Lists recent posts from a Facebook Page feed.
认证
需要 Connected AccountScopes
pages_read_engagementTags
pagesfeedread
Create Facebook page photoFACEBOOK_PAGE_PHOTO_CREATEUploads a photo to a Facebook Page from a URL.需要连接3 scopes
Uploads a photo to a Facebook Page from a URL.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementpages_show_listTags
pagesphotoswrite
Create Facebook page videoFACEBOOK_PAGE_VIDEO_CREATECreates a Facebook Page video from a public file URL or upload session parameters.需要连接3 scopes
Creates a Facebook Page video from a public file URL or upload session parameters.
认证
需要 Connected AccountScopes
pages_manage_postspages_read_engagementpages_show_listTags
pagesvideoswrite
List Facebook pagesFACEBOOK_PAGES_LISTLists pages available to the authenticated Facebook user.需要连接1 scope
Lists pages available to the authenticated Facebook user.
认证
需要 Connected AccountScopes
pages_show_listTags
pagesread