Instagram
Publish media, read insights and comments, and manage professional-account messaging through the Instagram 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: "INSTAGRAM_GET_IG_MEDIA", 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("INSTAGRAM_GET_IG_MEDIA", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute INSTAGRAM_GET_IG_MEDIA --data '{ }'Tool 目录
可用 Tools
23 个可调用操作
Get Instagram MediaINSTAGRAM_GET_IG_MEDIAGets a published Instagram photo, video, story, reel, or carousel with selected metadata and engagement fields. Unpublished container IDs must be checked with the publishing-status flow instead.需要连接2 scopes
Gets a published Instagram photo, video, story, reel, or carousel with selected metadata and engagement fields. Unpublished container IDs must be checked with the publishing-status flow instead.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get IG Media ChildrenINSTAGRAM_GET_IG_MEDIA_CHILDRENGets the individual media objects contained in an Instagram carousel post.需要连接2 scopes
Gets the individual media objects contained in an Instagram carousel post.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get IG Media CommentsINSTAGRAM_GET_IG_MEDIA_COMMENTSGets comments for media owned by the connected Instagram professional account with cursor pagination.需要连接2 scopes
Gets comments for media owned by the connected Instagram professional account with cursor pagination.
认证
需要 Connected AccountScopes
instagram_manage_commentspages_show_listTags
Get IG Media InsightsINSTAGRAM_GET_IG_MEDIA_INSIGHTSGets supported performance metrics for a published Instagram media object.需要连接2 scopes
Gets supported performance metrics for a published Instagram media object.
认证
需要 Connected AccountScopes
instagram_manage_insightspages_show_listTags
Get IG User Content Publishing LimitINSTAGRAM_GET_IG_USER_CONTENT_PUBLISHING_LIMITGets current content-publishing quota usage for an Instagram professional account. Space polling calls apart to avoid provider rate limits.需要连接3 scopes
Gets current content-publishing quota usage for an Instagram professional account. Space polling calls apart to avoid provider rate limits.
认证
需要 Connected AccountScopes
instagram_content_publishinstagram_basicpages_show_listTags
Get IG User Live MediaINSTAGRAM_GET_IG_USER_LIVE_MEDIAGets active live-broadcast media for an Instagram Business or Creator account.需要连接2 scopes
Gets active live-broadcast media for an Instagram Business or Creator account.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get IG User MediaINSTAGRAM_GET_IG_USER_MEDIAGets media published by an Instagram Business or Creator account with pagination and time filters.需要连接2 scopes
Gets media published by an Instagram Business or Creator account with pagination and time filters.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get IG User StoriesINSTAGRAM_GET_IG_USER_STORIESGets currently active stories for an Instagram Business or Creator account.需要连接2 scopes
Gets currently active stories for an Instagram Business or Creator account.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get Messenger ProfileINSTAGRAM_GET_MESSENGER_PROFILEGets Instagram messaging profile settings such as ice breakers.需要连接3 scopes
Gets Instagram messaging profile settings such as ice breakers.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Get Page ConversationsINSTAGRAM_GET_PAGE_CONVERSATIONSGets Instagram conversations for a Facebook Page connected to an Instagram professional account.需要连接3 scopes
Gets Instagram conversations for a Facebook Page connected to an Instagram professional account.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Get User InfoINSTAGRAM_GET_USER_INFOGets profile details and statistics for an Instagram Business or Creator account. Use me for the authenticated account.需要连接2 scopes
Gets profile details and statistics for an Instagram Business or Creator account. Use me for the authenticated account.
认证
需要 Connected AccountScopes
instagram_basicpages_show_listTags
Get User InsightsINSTAGRAM_GET_USER_INSIGHTSGets account-level Instagram insights. Demographic metrics may require timeframe; total-value metrics may support breakdown.需要连接2 scopes
Gets account-level Instagram insights. Demographic metrics may require timeframe; total-value metrics may support breakdown.
认证
需要 Connected AccountScopes
instagram_manage_insightspages_show_listTags
List All ConversationsINSTAGRAM_LIST_ALL_CONVERSATIONSLists Instagram DM conversations for a connected Page. An empty data list is a valid outcome.需要连接3 scopes
Lists Instagram DM conversations for a connected Page. An empty data list is a valid outcome.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
List All MessagesINSTAGRAM_LIST_ALL_MESSAGESLists messages in an Instagram DM conversation, including attachment-only messages.需要连接3 scopes
Lists messages in an Instagram DM conversation, including attachment-only messages.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Mark SeenINSTAGRAM_MARK_SEENMarks messages from an Instagram-scoped user as seen. This visibly changes inbox state and requires an active messaging window.需要连接3 scopes
Marks messages from an Instagram-scoped user as seen. This visibly changes inbox state and requires an active messaging window.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Post IG Comment RepliesINSTAGRAM_POST_IG_COMMENT_REPLIESReplies to a comment on media owned by an Instagram professional account. The message must satisfy Instagram comment limits.需要连接2 scopes
Replies to a comment on media owned by an Instagram professional account. The message must satisfy Instagram comment limits.
认证
需要 Connected AccountScopes
instagram_manage_commentspages_show_listTags
Post IG Media CommentsINSTAGRAM_POST_IG_MEDIA_COMMENTSCreates a comment on an Instagram media object. The message must satisfy Instagram comment limits.需要连接2 scopes
Creates a comment on an Instagram media object. The message must satisfy Instagram comment limits.
认证
需要 Connected AccountScopes
instagram_manage_commentspages_show_listTags
Post IG User MediaINSTAGRAM_POST_IG_USER_MEDIACreates an Instagram image, video, Reel, story, or carousel media container for the first step of publishing.需要连接3 scopes
Creates an Instagram image, video, Reel, story, or carousel media container for the first step of publishing.
认证
需要 Connected AccountScopes
instagram_content_publishinstagram_basicpages_show_listTags
Publish IG User MediaINSTAGRAM_POST_IG_USER_MEDIA_PUBLISHWaits for a media container to finish processing, then publishes it to an Instagram Business or Creator account.需要连接3 scopes
Waits for a media container to finish processing, then publishes it to an Instagram Business or Creator account.
认证
需要 Connected AccountScopes
instagram_content_publishinstagram_basicpages_show_listTags
Reply to IG User MentionsINSTAGRAM_POST_IG_USER_MENTIONSReplies to a media-caption or comment mention of the connected Instagram professional account.需要连接2 scopes
Replies to a media-caption or comment mention of the connected Instagram professional account.
认证
需要 Connected AccountScopes
instagram_manage_commentspages_show_listTags
Send ImageINSTAGRAM_SEND_IMAGESends an image URL in an existing Instagram DM conversation. Requires explicit user approval for automated sends.需要连接3 scopes
Sends an image URL in an existing Instagram DM conversation. Requires explicit user approval for automated sends.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Send Text MessageINSTAGRAM_SEND_TEXT_MESSAGESends text in an existing Instagram DM conversation. It cannot initiate a new thread and provider messaging-window failures are preserved.需要连接3 scopes
Sends text in an existing Instagram DM conversation. It cannot initiate a new thread and provider messaging-window failures are preserved.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags
Update Messenger ProfileINSTAGRAM_UPDATE_MESSENGER_PROFILEUpdates supported Instagram messaging profile settings such as ice breakers.需要连接3 scopes
Updates supported Instagram messaging profile settings such as ice breakers.
认证
需要 Connected AccountScopes
instagram_manage_messagespages_manage_metadatapages_show_listTags