Loading...
Loading...
Publishes Instagram carousel posts from local images. Uploads images to imgBB (requires API key) for public hosting, creates Instagram media containers via the Graph API, and publishes the carousel. Supports 2-10 images per post and retrieves the real post permalink.
npx skill4agent add renatoasse/opensquad instagram-publishersquads/{squad}/output/images/node --env-file=.env squads/{squad}/tools/publish.js \
--images "<comma-separated-ordered-paths>" \
--caption "<caption>"--dry-run.env.example.envINSTAGRAM_ACCESS_TOKEN=
INSTAGRAM_USER_ID=instagram_content_publishinstagram_basicpages_read_engagementhttps://graph.facebook.com/oauth/access_token
?grant_type=fb_exchange_token
&client_id={APP_ID}
&client_secret={APP_SECRET}
&fb_exchange_token={TOKEN_CURTO}access_token.envO token expira em 60 dias. Repita o processo para renovar.
/me/accountsid/{page-id}?fields=instagram_business_accountidinstagram_business_account--dry-run