nodebb-plugin-instagram-share
v1.0.6
Published
Admin-only 'Share on Instagram' button on topics — proxies to an n8n webhook that renders and publishes the topic as Instagram feed post + story. Token stays server-side (ACP settings).
Maintainers
Readme
nodebb-plugin-instagram-share
Admin-only "Instagram'da Paylaş" button on NodeBB topic pages. Clicking it (or a menu option) proxies to an n8n webhook that renders the topic as a card and publishes it to Instagram as a feed post + story.
The Instagram/n8n token stays server-side (ACP settings) and is never sent to the browser — the button calls the plugin's own admin-only API route, which calls n8n.
Features
- Admin-only button on topics (Harmony-native styling: icon-only on mobile, labelled on desktop).
- Menu options: Post + Story, Sadece post, Sadece story, Tekrar paylaş (re-share).
- "Paylaşıldı ✓" state via an optional status webhook.
- All config in ACP → Plugins → Instagram Share — reusable across forums.
Settings (ACP → Plugins → Instagram Share)
| Setting | Example | Notes |
|---------|---------|-------|
| Etkin (enabled) | on | Master switch |
| publishUrl | https://n8n.ieu.app/webhook/deuforum-share | POST: tid, token, mode, force |
| statusUrl | https://n8n.ieu.app/webhook/deuforum-share-status | GET ?tid= → {shared}; optional |
| shareToken | (secret) | Sent server-side only |
API (admin-only)
POST /api/v3/plugins/instagram-share/publish— body{ tid, mode: 'both'|'feed'|'story', force }GET /api/v3/plugins/instagram-share/status/:tid—{ shared }
Both require the requesting user to be an administrator (enforced server-side).
n8n side
Expects a webhook that accepts form-urlencoded tid, token, mode, force and returns JSON
{ status: 'PUBLISHED'|'ALREADY'|'BAD_TOKEN'|..., ... }, plus a status webhook returning
{ shared: boolean }. See the companion n8n workflow.
Install
npm install nodebb-plugin-instagram-share
./nodebb activate nodebb-plugin-instagram-share
./nodebb buildThen configure in ACP and restart.
License
MIT
