Skip to content
Back to skills

Publer

ASecurity

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".

  • 2 stars
  • 0 votes
  • 1 copy
  • 1 view
  • Added November 11, 2026
content-marketingpythonbashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 5 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill publer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Publer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Publer
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-publer/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-publer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: publer-post
description: 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".
metadata:
  openclaw:
    emoji: πŸ“±
    requires:
      bins: ["python3"]
      env: ["PUBLER_API_KEY", "PUBLER_WORKSPACE_ID"]
      packages: ["requests"]
    primaryEnv: PUBLER_API_KEY
    install:
      - id: python-requests
        kind: pip
        package: requests
        label: Install Python requests library
---

# Publer Post

Post and schedule social media content via the Publer API.

## Prerequisites

**Python Dependencies:**
```bash
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
```bash
python3 scripts/publer.py accounts
```
Use this first to discover account IDs.

### Upload media
```bash
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)
```bash
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
```bash
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
```bash
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](references/api.md).

Files in this skill

  • SKILL.md2.7 KB
  • _meta.json265 B
  • references/api.md2 KB
  • requirements.txt17 B
  • scripts/publer.py5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in content-marketing β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.