Instagram API

Post images and videos to Instagram and Threads via the Meta Graph API.

375|38|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/CraftOS-dev/CraftBot --skill instagram-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Instagram API
Source: https://github.com/CraftOS-dev/CraftBot/tree/main/skills/instagram-api
Command: npx skills add https://github.com/CraftOS-dev/CraftBot --skill instagram-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of posting content directly to Instagram (Feed, Story, Reels, Carousel) and Threads, eliminating the need for manual uploads through the app and saving significant time.

Core Features & Use Cases

  • Multi-format Posting: Supports posting images and videos to Instagram Feeds, Stories, and Reels.
  • Carousel Support: Allows creating multi-image carousels for Instagram.
  • Threads Integration: Enables posting text and image updates to Threads.
  • Media Hosting: Integrates with Imgur for hosting media, as Instagram requires publicly accessible URLs.
  • Use Case: Schedule and publish daily updates, promotions, or announcements across both Instagram and Threads seamlessly from your command line.

Quick Start

Use the instagram-api skill to post the image located at /path/to/your/photo.jpg with the caption from /path/to/your/caption.txt to your Instagram feed.

Frequently Asked Questions about Instagram API

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting to Instagram and Threads from the command line?

To automate Instagram and Threads posting, you use the Meta Graph API to distribute content like Feed posts, Stories, and Reels directly from the command line. This eliminates manual app uploads by sending media and captions through API endpoints.

Why does the Meta Graph API require Imgur for posting images to Instagram?

The Meta Graph API requires Imgur for hosting because Instagram demands publicly accessible URLs for all media. Imgur acts as a media hosting service, converting local files into public URLs that the API can fetch and publish to your feed or story.

Can I post multi-image carousels and Reels to Instagram using automation?

Yes, you can post multi-image carousels and Reels to Instagram using automation. The system supports various content types, allowing you to programmatically publish videos to Reels and batch multiple images into a single Carousel post.

Do I need specific environment variables for Instagram API authentication?

Yes, you need specific environment variables for Instagram API authentication and account identification. Setting up these variables is a prerequisite for the Skill to securely access your Meta Graph API credentials and target the correct social media accounts.

What's the best way to schedule daily promotions across both Instagram and Threads?

The best way to schedule daily promotions across Instagram and Threads is by automating social media content distribution via the Meta Graph API. This enables seamless publishing of text and image updates to both platforms without manual intervention.