← 返回
内容创作 Key 中文

Publer

Post content to social media via the Publer API. Use when scheduling or publishing posts to TikTok (carousels, videos), Instagram, Facebook, Twitter/X, or an...
通过 Publer API 将内容发布至社交媒体。用于在 TikTok(轮播、视频)、Instagram、Facebook、Twitter/X 等平台排程或发布帖子。
imamark
内容创作 clawhub v1.0.1 1 版本 99905.3 Key: 需要
★ 0
Stars
📥 1,055
下载
💾 32
安装
1
版本
#latest

概述

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.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 07:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,246
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 861 📥 200,186
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,112