Overview - CLI Examples
Real world end-to-end examples for the OpenQuok CLI, organized by platform-specific social network.
Connect your agent today
Draft from chat, review in your calendar, and publish only what you approve.
What is in this section
Copy-pasteable recipes for the openquok CLI grouped by social network. Each page chains integrations:list, upload, and posts:create into the kind of scripts AI agents and CI jobs actually run.
Note
OpenQuok ships first-party providers for Meta Threads, Facebook Page, Instagram (Business and Standalone), YouTube, TikTok, X, and Dev.to. Additional pages appear here when new providers land in backend/integrations/providers/.
Facebook Page
Text, photos, links, and follow-up comments for Facebook Pages
Instagram
Feed, reels, stories, and carousels for Business or Standalone accounts
Meta Threads
Text and media posts, timed follow-up comments, what to do when publish metadata is incomplete, and analytics
YouTube
MP4 uploads with title, privacy, tags, thumbnail, and analytics
TikTok
Videos and photo carousels with privacy and settings
X
Tweets, media, thread replies, finisher, and analytics
Dev.to
Markdown articles with title, tags, canonical URL, and organization
Conventions used in these pages
- Where examples show $THREADS_ID, $INSTAGRAM_ID, $YT_ID, or $DEVTO_ID, populate them with an integration UUID from openquok integrations:list
THREADS_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="threads") | .id')
INSTAGRAM_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier | startswith("instagram")) | .id')
YT_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="youtube") | .id')
DEVTO_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="devto") | .id') - The
--providerSettingsByIntegrationIdpayloads shown match the JSON shapes the backend’s provider modules expect today. If a key is missing or renamed, fetch the canonical schema with integrations:settings before scripting a batch. - All examples assume you’re already authenticated — see CLI authentication for OAuth device flow or programmatic token setup.