Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

unipile-instagram-sdkunipile instagram SDK 搜索

Agent Skill

unipile-instagram-sdk 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,277

周安装

180

GitHub Stars

1

下载量

1,498
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unipile-instagram-sdk(unipile instagram SDK 搜索)
来源仓库:https://github.com/mohit21gojs/unipile-instagram-sdk
安装命令:
openclaw skills install unipile-instagram-sdk
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install unipile-instagram-sdk

简介

通过 Unipile 的官方 Node.js SDK 访问 Instagram 消息、个人资料、帖子和交互,以实现自动化和内容管理。

SKILL.md

name
unipile-instagram-sdk
description
Instagram messaging and content via Unipile's official Node.js SDK. Send DMs, view profiles, list posts, create content, react and comment. Use for Instagram automation, reading/sending DMs, fetching profiles, getting posts, or interacting with content. Triggers: "instagram dm", "instagram message", "instagram profile", "instagram posts", "send instagram", "instagram api".
homepage
https://clawhub.ai/mohit21gojs/unipile-instagram-sdk
source
https://clawhub.ai/mohit21gojs/unipile-instagram-sdk
metadata
openclaw
requires
env
optionalEnv
primaryEnv
UNIPILE_ACCESS_TOKEN
emoji
📸

Unipile Instagram SDK

Instagram API via official unipile-node-sdk for messaging, profiles, posts, and interactions.

📸 Send DMs, view profiles, list posts, and interact with Instagram content — all through natural conversation with OpenClaw.

⚠️ Security & Privacy

This skill requires credentials that grant API-level access to your connected Instagram accounts through Unipile.

What You're Granting

CredentialAccess LevelRisk
UNIPILE_DSNUnipile API endpointIdentifies your Unipile instance
UNIPILE_ACCESS_TOKENFull API access to UnipileCan read/write all connected social accounts

What This Means

  • Unipile gets your data — Your Instagram messages, posts, and profile data flow through Unipile's servers
  • API-level control — Anyone with these credentials can send DMs, create posts, and interact as you
  • Connected accounts — If you connect Instagram via Unipile's dashboard, your Instagram session is stored on their servers

Higher-Risk: Connecting Instagram Accounts

To connect a new Instagram account, you may need to provide:

  • Instagram username and password
  • 2FA verification codes

This gives Unipile direct access to your Instagram account. Only do this if you trust Unipile with your social media credentials.

Recommendations

  1. Use a dedicated Instagram account — Don't use your personal main account for automation
  2. Review Unipile's security — Read their privacy policy and terms of service
  3. Audit the SDK — The unipile-node-sdk is open source and auditable
  4. Use least privilege — Set UNIPILE_PERMISSIONS=read unless you need write access
  5. Rotate tokens — Regularly regenerate your access token from the Unipile dashboard
  6. Monitor activity — Check your Unipile dashboard for unexpected API usage

If You're Unsure

Don't install this skill. This is intended for users who:

  • Already use Unipile for social media automation
  • Understand the risks of third-party API access
  • Have reviewed Unipile's security practices

Installation

npx clawhub install unipile-instagram-sdk

Then install dependencies:

cd ~/.openclaw/workspace/skills/unipile-instagram-sdk
npm install

Setup

Environment Variables

VariableRequiredDescription
UNIPILE_DSNAPI endpoint (e.g., https://api34.unipile.com:16473)
UNIPILE_ACCESS_TOKENToken from dashboard.unipile.com
UNIPILE_PERMISSIONSOptionalread, write, or read,write (default: read,write)

Get Credentials

  1. Sign up at dashboard.unipile.com
  2. Get your DSN and generate an access token
  3. Connect an Instagram account via dashboard or API

Or just ask OpenClaw:

"Set up my Unipile Instagram credentials"

Quick Reference

What you wantWhat to say
See accounts"Show my Instagram accounts"
Get a profile"Get Instagram profile for @username"
View posts"Show Instagram posts from @username"
Read DMs"Show my Instagram messages with [name]"
Send DM"Send '[message]' to [name] on Instagram"
Create post"Post '[text]' to my Instagram"
Like/Comment"Like that post" / "Comment '[text]' on that post"

💬 How to Use

Once configured, just talk to OpenClaw naturally:

Account & Profiles

"Show me my connected Instagram accounts"
"Get the Instagram profile for @nasa"
"What's my own Instagram profile info?"
"Who am I following on Instagram?"

Posts & Content

"Show me the last 5 posts from @nasa on Instagram"
"Get details for Instagram post ID 123456"
"Create an Instagram post saying 'Hello from OpenClaw!'"
"Like that last post from @nasa"
"Comment 'Amazing shot! 🔥' on the post"

Direct Messages

"List my recent Instagram DM chats"
"Show me my last 20 messages with Yashpreet"
"Send 'Hey, how are you?' to Yashpreet on Instagram"
"Start a new Instagram conversation with @username saying 'Hi there!'"
"Send this photo to Yashpreet on Instagram" *(with image attached)*

🛡️ Permission Modes

By default, the skill operates in read-only mode for safety.

Read-only (UNIPILE_PERMISSIONS=read):

  • View profiles, posts, chats, messages
  • No sending, posting, or interactions

Read + Write (UNIPILE_PERMISSIONS=read,write):

  • Send messages
  • Create posts
  • React and comment

Just tell OpenClaw:

"Set my Unipile permissions to read-only"

Or when you need write access:

"Enable write permissions for Unipile so I can send messages"

CLI Tool

For direct operations, use the included CLI:

# Set environment
export UNIPILE_DSN="https://api33.unipile.com:16376"
export UNIPILE_ACCESS_TOKEN="your_token"

# Read operations
node scripts/instagram.mjs accounts
node scripts/instagram.mjs my-profile <account_id>
node scripts/instagram.mjs profile <account_id> <username>
node scripts/instagram.mjs posts <account_id> <username> --limit=5
node scripts/instagram.mjs chats --account_id=<id>
node scripts/instagram.mjs messages <chat_id> --limit=10

# Write operations (require UNIPILE_PERMISSIONS=write)
node scripts/instagram.mjs send <chat_id> "Hello"
node scripts/instagram.mjs start-chat <account_id> "Hi" --to=<provider_id>
node scripts/instagram.mjs create-post <account_id> "Post text"
node scripts/instagram.mjs comment <account_id> <post_id> "Nice!"
node scripts/instagram.mjs react <account_id> <post_id> --type=like

API Reference

Client Initialization

import { UnipileClient } from 'unipile-node-sdk';

const client = new UnipileClient(
  process.env.UNIPILE_DSN,
  process.env.UNIPILE_ACCESS_TOKEN
);

Account Connection

// Connect Instagram account
await client.account.connectInstagram({
  username: 'your_username',
  password: 'your_password',
});

// Hosted Auth (multi-user apps)
const link = await client.account.createHostedAuthLink({
  type: 'create',
  providers: ['INSTAGRAM'],
  success_redirect_url: 'https://yourapp.com/success',
});

// Handle 2FA
await client.account.solveCodeCheckpoint({
  account_id: accountId,
  provider: 'INSTAGRAM',
  code: '123456'
});

Get Account ID

All operations require an account ID:

const accounts = await client.account.getAll();
const instagram = accounts.items.find(a => a.type === 'INSTAGRAM');
const accountId = instagram.id;

Read Operations

TaskMethod
List accountsclient.account.getAll()
Get profileclient.users.getProfile({ account_id, identifier })
Get own profileclient.users.getOwnProfile(account_id)
Get followersclient.users.getAllRelations({ account_id })
List postsclient.users.getAllPosts({ account_id, identifier })
Get postclient.users.getPost({ account_id, post_id })
List chatsclient.messaging.getAllChats({ account_type: 'INSTAGRAM', account_id })
Get messagesclient.messaging.getAllMessagesFromChat({ chat_id })

Write Operations

TaskMethod
Create postclient.users.createPost({ account_id, text })
Reactclient.users.sendPostReaction({ account_id, post_id, reaction_type })
Commentclient.users.sendPostComment({ account_id, post_id, text })
Send DMclient.messaging.sendMessage({ chat_id, text })
Start chatclient.messaging.startNewChat({ account_id, attendees_ids, text })

Attachments

import { readFile } from 'fs/promises';

const fileBuffer = await readFile('./photo.jpg');
await client.messaging.sendMessage({
  chat_id: 'chat_id',
  text: 'Check this out!',
  attachments: [['photo.jpg', fileBuffer]],
});

Error Handling

import { UnsuccessfulRequestError } from 'unipile-node-sdk';

try {
  await client.users.getProfile({ account_id, identifier });
} catch (err) {
  if (err instanceof UnsuccessfulRequestError) {
    const { status, type } = err.body;
    // type: 'errors/invalid_credentials', 'errors/checkpoint_error', etc.
  }
}

Common Errors

TypeMeaningAction
errors/invalid_credentialsWrong passwordReconnect account
errors/checkpoint_error2FA requiredCall solveCodeCheckpoint
errors/disconnected_accountSession expiredReconnect
errors/resource_not_foundInvalid IDVerify exists

Resources

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.37%
按下载量换算1,069

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills