publer-post

Post content to social media via the Publer API. Use when scheduling or publishing posts to TikTok (carousels, videos), Instagram, Facebook, Twitter/X, or any Publer-supported platform. Handles media upload, post creation, scheduling, and job polling. Use for any task involving "post to TikTok", "schedule a post", "publish to social media", or "upload to Publer".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "publer-post" with this command: npx skills add imamark/publer

Publer Post

Post and schedule social media content via the Publer API.

Prerequisites

Python Dependencies:

pip install -r requirements.txt

Environment Variables (store in TOOLS.md or set before running):

  • PUBLER_API_KEY — API key from Publer (Business plan required)
  • PUBLER_WORKSPACE_ID — Your workspace ID
  • PUBLER_TIKTOK_ACCOUNT_ID — TikTok account ID (optional, get via accounts command)

Script: scripts/publer.py

List accounts

python3 scripts/publer.py accounts

Use this first to discover account IDs.

Upload media

python3 scripts/publer.py upload slide_1.jpg slide_2.jpg slide_3.jpg

Returns media IDs (one per line as JSON). Collect these for the post command.

Post TikTok carousel (immediate)

python3 scripts/publer.py post \
  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \
  --type photo \
  --title "Post title (max 90 chars)" \
  --text "Caption with #hashtags" \
  --media-ids id1,id2,id3,id4,id5,id6,id7,id8

Schedule TikTok carousel

python3 scripts/publer.py post \
  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \
  --type photo \
  --title "Post title" \
  --text "Caption" \
  --media-ids id1,id2,id3 \
  --schedule "2025-06-01T09:00:00Z"

Dry run (preview payload)

Add --dry-run to print the JSON payload without sending.

Check job status

python3 scripts/publer.py job-status <job_id>

Workflow: Post a TikTok Carousel

  1. Upload all slide images → collect media IDs
  2. Run post with --type photo, title, caption+hashtags, and comma-separated media IDs
  3. Script polls job until complete — confirm success

Options

  • --privacy: PUBLIC_TO_EVERYONE (default), MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY
  • --auto-music / --no-auto-music: auto-add music to carousel (default: on)
  • --no-poll: submit without waiting for completion

API Reference

For full endpoint details, see references/api.md.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ai Competitor Analyzer

提供AI驱动的竞争对手分析,支持批量自动处理,提升企业和专业团队分析效率与专业度。

Registry SourceRecently Updated
General

Ai Data Visualization

提供自动化AI分析与多格式批量处理,显著提升数据可视化效率,节省成本,适用企业和个人用户。

Registry SourceRecently Updated
General

Ai Cost Optimizer

提供基于预算和任务需求的AI模型成本优化方案,计算节省并指导OpenClaw配置与模型切换策略。

Registry SourceRecently Updated