Manage an Instagram Business or Creator account via the Instagram Graph API. Publish posts and carousels, retrieve media and insights, moderate comments, send direct messages, and monitor story content.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Instagram API access yourself.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Instagram |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | !Connect |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Instagram |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Instagram Graph │
│ (User Chat) │ │ (OAuth) │ │ (API v22) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect IG │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Instagram│
│ File │ │ Auth │ │ Business │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Instagram again."
# Get your Instagram account info
clawlink_call_tool --tool "instagram_get_user_info" --params '{}'
# List recent media posts
clawlink_call_tool --tool "instagram_get_ig_user_media" --params '{}'
# Get insights on a specific post
clawlink_call_tool --tool "instagram_get_ig_media_insights" --params '{"media_id": "MEDIA_ID"}'
All Instagram tool calls are authenticated automatically by ClawLink using the user's connected Instagram Business or Creator account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Instagram Graph API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for instagram in the list.
clawlink_list_tools --integration instagram
Response: Returns the live tool catalog for Instagram.
If Instagram tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration instagram| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_ig_user_media | List all media (posts, photos, videos, reels, carousels) published by the account | Read |
instagram_get_ig_media | Get details for a specific published media item including engagement metrics | Read |
instagram_get_ig_media_children | Get individual media items from a carousel/album post | Read |
instagram_post_ig_user_media | Create a media container for publishing (first step of two-step publish) | Write |
instagram_post_ig_user_media_publish | Publish a media container to the account (auto-waits for processing) | Write |
instagram_create_carousel_container | Create a draft carousel post with 2–10 images/videos | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_user_insights | Get account-level insights (profile views, reach, follower count) | Read |
instagram_get_ig_media_insights | Get per-media performance metrics (views, likes, comments, saves, shares) | Read |
instagram_get_user_info | Get profile details and statistics for the Business/Creator account | Read |
instagram_get_ig_user_content_publishing_limit | Check remaining publish quota before posting | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_ig_media_comments | List comments on a specific post with cursor-based pagination | Read |
instagram_get_ig_comment_replies | Get replies to a specific comment | Read |
instagram_post_ig_media_comments | Post a comment on a media item (300 chars max, 4 hashtags, 1 URL) | Write |
instagram_post_ig_comment_replies | Reply to an existing comment (300 chars max) | Write |
instagram_delete_comment | Delete a comment (only comments your account created) | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_ig_user_stories | List active stories within the 24-hour story window | Read |
instagram_get_ig_user_live_media | Get live media during an active broadcast | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_list_all_conversations | List all Instagram DM conversations | Read |
instagram_get_conversation | Get details of a specific DM conversation | Read |
instagram_list_all_messages | List messages in a specific DM thread | Read |
instagram_send_text_message | Send a text DM (requires prior conversation thread) | Write |
instagram_send_image | Send an image via DM | Write |
instagram_mark_seen | Mark messages as read in a DM thread | Write |
instagram_get_page_conversations | Get conversations for the connected Page | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_messenger_profile | Get ice breakers and messaging settings | Read |
instagram_update_messenger_profile | Configure ice breakers for the Instagram inbox | Write |
instagram_delete_messenger_profile | Remove messaging configuration | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
instagram_get_ig_user_tags | Get media where your account was tagged by others | Read |
instagram_post_ig_user_mentions | Reply to a mention of your account | Write |
clawlink_call_tool --tool "instagram_get_user_info" \
--params '{}'
clawlink_call_tool --tool "instagram_get_ig_user_media" \
--params '{}'
clawlink_call_tool --tool "instagram_get_ig_media_insights" \
--params '{"media_id": "MEDIA_ID"}'
clawlink_call_tool --tool "instagram_post_ig_media_comments" \
--params '{"media_id": "MEDIA_ID", "text": "Great post! Thanks for sharing."}'
clawlink_call_tool --tool "instagram_send_text_message" \
--params '{"message": "Hi! Thanks for reaching out.", "conversation_id": "CONVERSATION_ID"}'
clawlink_list_integrations to confirm Instagram is connected.clawlink_list_tools --integration instagram to see the live catalog.clawlink_search_tools with a short query and integration instagram.┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: List media → Get insights → Show results │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Preview comment → User approves → Execute │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.creation_ids expire in under 24 hours — publish promptly after creating a container.1784140xxxxx (not numeric strings).| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration instagram. |
| Missing connection | Instagram is not connected. Direct the user to https://claw-link.dev/dashboard?add=instagram. |
| Permission error | The account is a personal Instagram profile, not a Business/Creator account. |
OAuthException | Instagram OAuth token is invalid or expired. Reconnect Instagram. |
| Rate limit exceeded | Publishing quota used. Wait or reduce publish frequency. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本