본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크