ข้ามไปที่เนื้อหา

Overview - CLI Examples

Copy-paste CLI examples by social network.

1 min read

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.

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 --providerSettingsByIntegrationId payloads 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.
ค้นหาเอกสาร
ค้นหาหน้าเอกสาร
ศูนย์ช่วยเหลือ