Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Post to Instagram (Feed, Story, Reels, Carousel) and Threads using the official Meta Graph API. Requires Imgur for media hosting.
Post to Instagram (Feed, Story, Reels, Carousel) and Threads using the official Meta Graph API. Requires Imgur for media hosting.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Meta Graph API๋ฅผ ์ฌ์ฉํด Instagram๊ณผ Threads์ ์ง์ ํฌ์คํ ํ๋ ์คํฌ. ๋ฏธ๋์ด ํธ์คํ ์ Imgur API๋ฅผ ์ฌ์ฉ (์ด๋ฏธ์ง/์์ ๊ณต๊ฐ URL ์์ฑ).
Instagram Graph API๋ ๊ณต๊ฐ URL๋ก๋ง ๋ฏธ๋์ด๋ฅผ ์ ๋ก๋ํ ์ ์์ด Imgur๊ฐ ํ์ํฉ๋๋ค. https://api.imgur.com/oauth2/addclient ์ ์ Application name: ์ํ๋ ์ด๋ฆ (์: raon-instagram) Authorization type: Anonymous usage without user authorization ์ ํ Authorization callback URL: https://localhost (Anonymous์ด๋ฏ๋ก ํ์๋ง ๋ง์ถ๋ฉด ๋จ) ์ด๋ฉ์ผ ์ ๋ ฅ ํ ์ ์ถ โ Client ID ํ์ธ ํ๊ฒฝ๋ณ์ ์ค์ : export IMGUR_CLIENT_ID="your_client_id_here"
# ~/.openclaw/.env ๋๋ ~/.zshrc์ ์ถ๊ฐ export INSTAGRAM_ACCESS_TOKEN="your_token_here" export INSTAGRAM_BUSINESS_ACCOUNT_ID="your_account_id_here" # Threads (์ ํ) export THREADS_ACCESS_TOKEN="your_threads_token_here" export THREADS_USER_ID="your_threads_user_id_here" # Imgur (์ด๋ฏธ์ง ํธ์คํ ์ฉ โ ํผ๋/๋ฆด์ค ์ ๋ก๋ ์ ํ์) export IMGUR_CLIENT_ID="your_imgur_client_id_here"
Meta for Developers ์ ์ ์ฑ ์์ฑ โ Business ์ ํ ์ ํ Instagram Graph API ์ ํ ์ถ๊ฐ ๊ถํ ์์ฒญ: instagram_basic instagram_content_publish pages_read_engagement Access Token ๋ฐ๊ธ: Graph API Explorer: https://developers.facebook.com/tools/explorer/ ์ฅ๊ธฐ ํ ํฐ(Long-lived token)์ผ๋ก ๊ตํ: 60์ผ ์ ํจ Business Account ID ํ์ธ: curl "https://graph.facebook.com/v21.0/me/accounts?access_token=YOUR_TOKEN" ๐ก Imgur Client ID: https://api.imgur.com/oauth2/addclient (Anonymous usage ์ ํ)
bash scripts/post-feed.sh <์ด๋ฏธ์ง๊ฒฝ๋ก> <์บก์ ํ์ผ> # ์์ bash scripts/post-feed.sh ./photo.jpg ./caption.txt
bash scripts/post-story.sh <์ด๋ฏธ์ง๊ฒฝ๋ก> # ์์ bash scripts/post-story.sh ./story.jpg
bash scripts/post-reels.sh <์์๊ฒฝ๋ก> <์บก์ ํ์ผ> # ์์ bash scripts/post-reels.sh ./reel.mp4 ./caption.txt
bash scripts/post-carousel.sh <์บก์ ํ์ผ> <์ด๋ฏธ์ง1> <์ด๋ฏธ์ง2> [์ด๋ฏธ์ง3...] # ์์ bash scripts/post-carousel.sh ./caption.txt ./img1.jpg ./img2.jpg ./img3.jpg
bash scripts/post-threads.sh <์บก์ ํ์ผ> [์ด๋ฏธ์งURL] # ์์ (ํ ์คํธ๋ง) bash scripts/post-threads.sh ./caption.txt # ์์ (์ด๋ฏธ์ง ํฌํจ) bash scripts/post-threads.sh ./caption.txt "https://example.com/image.jpg"
instagram-api/ โโโ SKILL.md # ์ด ํ์ผ โโโ scripts/ โโโ post-feed.sh # ํผ๋ ํฌ์คํ โโโ post-story.sh # ์คํ ๋ฆฌ ํฌ์คํ โโโ post-reels.sh # ๋ฆด์ค ํฌ์คํ โโโ post-carousel.sh # ์บ๋ฌ์ ํฌ์คํ โโโ post-threads.sh # Threads ํฌ์คํ
Instagram์ ๊ณต๊ฐ URL๋ก๋ง ๋ฏธ๋์ด ์ ๋ก๋ ๊ฐ๋ฅ (๋ก์ปฌ ํ์ผ ์ง์ ์ ๋ก๋ ๋ถ๊ฐ) ์ด ์คํฌ์ Imgur๋ฅผ ํตํด ์์ ๊ณต๊ฐ URL ์์ฑ ๋ฆด์ค ๋์์ ์ฒ๋ฆฌ์๋ ์๋ถ ์์๋ ์ ์์ API ํธ์ถ ์คํจ ์ ~/logs/sns/ ๋ก๊ทธ ํ์ธ
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.