कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

instagram-api

lifeissea द्वारा

Media & Streaming
1.2kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Post to Instagram (Feed, Story, Reels, Carousel) and Threads using the official Meta Graph API.

विवरण

यह स्किल क्या करती है

Posts to Instagram and Threads via the official Meta Graph API. Supports feed posts, stories, reels, and carousels. Uses Imgur to generate public URLs for local media files, which the Instagram API requires.

Uses the official Meta Graph API directly, avoiding third-party scheduling tools that require separate subscriptions or browser automation.

इसे कब इस्तेमाल करें

  • Posting a product photo to an Instagram feed
  • Publishing a short video clip as a reel
  • Scheduling a carousel of event photos
  • Sharing a story image from a local file
  • Cross-posting a caption to Threads

उदाहरण वर्कफ़्लो

इनपुट

User asks: post ./photo.jpg to Instagram feed with caption from ./caption.txt

एजेंट
  1. 1

    Upload ./photo.jpg to Imgur using IMGUR_CLIENT_ID to get a public URL

  2. 2

    Call Meta Graph API to create a media container with the public URL and caption text

  3. 3

    Submit the container ID to the publish endpoint using INSTAGRAM_BUSINESS_ACCOUNT_ID and INSTAGRAM_ACCESS_TOKEN

  4. 4

    Check API response for post ID confirming successful publish

आउटपुट

Instagram feed post published with the provided image and caption

आवश्यकताएँ

  • INSTAGRAM_ACCESS_TOKEN environment variable (Meta Graph API long-lived token)
  • INSTAGRAM_BUSINESS_ACCOUNT_ID environment variable
  • IMGUR_CLIENT_ID environment variable (from api.imgur.com/oauth2/addclient, anonymous usage)
  • Meta for Developers account with a Business-type app and instagram_content_publish permission
  • Threads posting requires THREADS_ACCESS_TOKEN and THREADS_USER_ID environment variables

इंस्टॉलेशन

clawhub install lifeissea/instagram-api

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक