Petar Georgiev

postfast

內容創作v1.19.0
作者:Petar Georgiev更新於 2026-10-08共 37 個版本 · 最新版本釋出於 2026-10-08@clawhub_peturgeorgievv/postfast
自媒體營運#Business#LinkedIn#Schedule#Telegram#Twitter

據 AlphaMoat 統計,截至 2026-10,postfast 累計下載 6,566 次、獲 8 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 4,339 位,在「內容創作」分類(927 個)中排名第 414 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
6566
星標
8
全站下載量排名
#4,339
全站前 40% · 「內容創作」前 45%
平台累計下載星標評論
ClawHub ↗65668-
SkillHub ↗46538—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該服務依賴 POSTFAST_API_KEY,並可建立、刪除或釋出對外可見的內容。執行前應確認賬號、平台、內容、釋出時間和接收物件;刪除或公開發布須經使用者明確確認。

資料釋出於 2026-10-29

可以用來做什麼

  • 規劃社交媒體內容和釋出時間
  • 整理評論並準備回覆或稽核方案

什麼時候用

  • 需要集中安排或管理多個社交平台的帖子時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

列出這條社交帖子釋出前需要確認的平台、賬號、內容和時間;不要釋出、刪除或回覆評論。

月度資料趨勢

累計下載6566
1658429469302026-03 · 累計下載 20222026-05 · 累計下載 31342026-06 · 累計下載 34122026-07 · 累計下載 46702026-08 · 累計下載 56042026-09 · 累計下載 60282026-10 · 累計下載 656626-0326-0926-10
星標8
7882026-03 · 星標 72026-05 · 星標 82026-06 · 星標 72026-07 · 星標 82026-08 · 星標 82026-09 · 星標 82026-10 · 星標 826-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-106566—8
2026-096028—8
2026-085604+20.0%8
2026-074670+36.9%8
2026-063412+8.9%7
2026-053134—8
2026-032022—7

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

69 KB · ClawHub v1.19.0
---
name: postfast
description: Schedule and manage social media posts across TikTok, Instagram, Facebook, X (Twitter), YouTube, LinkedIn, Threads, Bluesky, Pinterest, Telegram, and Google Business Profile using the PostFast API. Use when the user wants to schedule social media posts, manage social media content, upload media for social posting, list connected social accounts, check scheduled posts (filtered by account, platform, status or date), delete posts one at a time or up to 100 per call, cross-post content to multiple platforms, manage Google Business Profile posts, geotag posts with real-world places, pick trending pre-cleared TikTok sounds for photo and carousel posts, read or reply to the comments on their posts (social inbox on TikTok, Instagram, Facebook, Threads), triage or moderate comment conversations, generate a connect link so an agency client or their own app's user can connect accounts without a PostFast account, or automate their social media workflow. PostFast is a SaaS tool, no self-hosting required.
homepage: https://postfa.st
version: 1.19.0
metadata: {"openclaw":{"emoji":"⚡","primaryEnv":"POSTFAST_API_KEY","requires":{"env":["POSTFAST_API_KEY"]}},"hermes":{"tags":["social-media","scheduling","marketing","automation"],"category":"productivity"}}
---

# PostFast
展開全部(共 608 行)
Schedule social media posts across 11 platforms from one API. SaaS, no self-hosting needed.

## Setup

1. Sign up at https://app.postfa.st/register (7-day free trial, no credit card)
2. Go to Workspace Settings → generate an API key
3. Set the environment variable:
   ```bash
   export POSTFAST_API_KEY="your-api-key"
   ```

Base URL: `https://api.postfa.st`
Auth header: `pf-api-key: $POSTFAST_API_KEY`

**Important:** The header name is `pf-api-key` (not `Authorization: Bearer` or `x-api-key`). Regenerating your key in settings permanently invalidates the previous one. See [Troubleshooting](#troubleshooting) if you get 403 errors.

## Core Workflow

### 1. List connected accounts

```bash
curl -s -H "pf-api-key: $POSTFAST_API_KEY" https://api.postfa.st/social-media/my-social-accounts
```

Returns array of `{ id, platform, platformUsername, displayName, connectionStatus, disabledReason, inboxCapable, followerCount?, followerCountUpdatedAt? }`. Save the `id` (the `socialMediaId` required for every post).

- `connectionStatus` (always present): `CONNECTED` (healthy) or `DISABLED` (paused; the account needs reconnecting and won't publish until the user does).
- `disabledReason`: `null` unless `DISABLED`, then one of `TOKEN_REVOKED`, `ACCOUNT_SUSPENDED`, `PERMISSION_REVOKED`, `MANUAL`.
- `inboxCapable`: `true` when comments on this account's posts reach the [Social Inbox](#social-inbox-comments).
- `followerCount` (string, or null) / `followerCountUpdatedAt`: the latest daily follower or subscriber count, refreshed once a day around 04:00 UTC. Not available on X or Google Business Profile.

Check `connectionStatus` before scheduling: a `DISABLED` account rejects new scheduled posts (drafts still work). Posts already scheduled to it are held, not deleted: they resume once the user reconnects, or are marked `FAILED` if their time passes while the account is still disabled.

**Recent posts are imported on connect.** When a Facebook Page, Instagram, Threads or TikTok account is connected or reconnected, PostFast imports the posts published on it in the last 60 days (including posts not made with PostFast), so they show up in `GET /social-posts` and in analytics. Metrics fill in shortly after (TikTok can take 24-48h).

The account list changes rarely: read it once per task and reuse it, don't poll it in a loop (see [Rate Limits](#rate-limits)).

Platform values: `TIKTOK`, `INSTAGRAM`, `FACEBOOK`, `X`, `YOUTUBE`, `LINKEDIN`, `THREADS`, `BLUESKY`, `PINTEREST`, `TELEGRAM`, `GOOGLE_BUSINESS_PROFILE`

### 2. Schedule a text post (no media)

```bash
curl -X POST https://api.postfa.st/social-posts \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "posts": [{
      "content": "Your post text here",
      "mediaItems": [],
      "scheduledAt": "2026-06-15T10:00:00.000Z",
      "socialMediaId": "ACCOUNT_ID_HERE"
    }],
    "controls": {}
  }'
```

Returns `{ "postIds": ["uuid-1"] }`.

### 3. Schedule a post with media (3-step flow)

**Step A.** Get signed upload URLs:
```bash
curl -X POST https://api.postfa.st/file/get-signed-upload-urls \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "contentType": "image/png", "count": 1 }'
```
Returns `[{ "key": "image/uuid.png", "signedUrl": "https://..." }]`.

**Step B.** Upload file to S3:
```bash
curl -X PUT "SIGNED_URL_HERE" \
  -H "Content-Type: image/png" \
  --data-binary @/path/to/file.png
```

**Step C.** Create post with media key:
```bash
curl -X POST https://api.postfa.st/social-posts \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "posts": [{
      "content": "Post with image!",
      "mediaItems": [{ "key": "image/uuid.png", "type": "IMAGE", "sortOrder": 0 }],
      "scheduledAt": "2026-06-15T10:00:00.000Z",
      "socialMediaId": "ACCOUNT_ID_HERE"
    }],
    "controls": {}
  }'
```

For video: use `contentType: "video/mp4"`, `type: "VIDEO"`, key prefix `video/`. A LinkedIn document (Pattern 7) or a YouTube caption file (Pattern 5c) gets a `file/` key that goes in `controls`, never in `mediaItems`.

### 4. List and filter posts

```bash
curl -s -H "pf-api-key: $POSTFAST_API_KEY" "https://api.postfa.st/social-posts?page=0&limit=20"
```

Returns `{ "data": [...], "totalCount": 25, "pageInfo": { "page": 1, "hasNextPage": true, "perPage": 20 } }`.

**Query parameters** (all optional; filters are AND-ed together):
- `page` (int, default 0): 0-based page index. Response shows 1-based display page in `pageInfo.page`
- `limit` (int, 1-50, default 20): items per page
- `socialMediaIds` (string): comma-separated account UUIDs (max 100); returns only these accounts' posts
- `ids` (string): comma-separated post UUIDs (max 100), to fetch known posts
- `platforms` (string): comma-separated, e.g. `FACEBOOK,INSTAGRAM,X`
- `statuses` (string): comma-separated, any of `DRAFT`, `SCHEDULED`, `PUBLISHED`, `FAILED`
- `from` / `to` (ISO 8601 UTC): date range filter on `scheduledAt`

Example, one account's scheduled posts in June: `GET /social-posts?socialMediaIds=ACCOUNT_ID&statuses=SCHEDULED&from=2026-06-01T00:00:00Z&to=2026-06-30T23:59:59Z&limit=50`

- `ids` and `socialMediaIds` only match this workspace: an id from another workspace matches nothing (`200`, no posts).
- To skip a filter, leave the parameter out. An empty value (`ids=`), a trailing comma, a non-UUID or more than 100 entries returns `400`.
- **Unknown query parameters are ignored, not rejected.** The singular `socialMediaId` is not a filter and returns every account's posts: the parameter is `socialMediaIds`.
- Results are ordered by `scheduledAt`, then `id`, so paging through a list that isn't changing is stable.
- When nothing matches, `data` is `[]` and `totalCount` is `null`, not `0`.

Each post carries `id`, `socialMediaId`, `content`, `status`, `approvalStatus`, `scheduledAt`, `publishedAt`, `failedAt`, `platformPostId`, `mediaItems`, `lastError`, `firstComment`, `firstCommentError`, `groupId`, and `controls` with the stored `threadsTopicTag`, `instagramPublishType`, `facebookContentType`, `tiktokIsDraft` and `youtubePrivacy` (posts created over the API carry every platform's defaults, so read only the field for the post's own platform). There is no `platform` field on a post: map `socialMediaId` to the account list. The list also includes posts imported when an account was connected (see section 1).

### 5. Delete posts

Deletion is immediate and cannot be undone. Unless the user gave you the exact post IDs, list the candidates first and show what you are about to remove (ID, account, scheduled time, first words of the content; for a bulk delete, the count plus a sample) and wait for a yes.

**What deleting does:** it removes the post, its schedule and its analytics from PostFast, in any status. PostFast never calls the social platform, so a post that is already `PUBLISHED` stays live on the network, and a `SCHEDULED` post that hasn't gone out yet will not publish. Say so when the user asks to delete something that has already been published.

**One post:**

```bash
curl -X DELETE -H "pf-api-key: $POSTFAST_API_KEY" https://api.postfa.st/social-posts/POST_ID
```

Returns `{ "deleted": true }`. An id that doesn't exist or belongs to another workspace returns `200` with `{ "deleted": false }`, never a `404`; a non-UUID returns `400`.

**Up to 100 posts in one call:**

```bash
curl -X POST https://api.postfa.st/social-posts/bulk-delete \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "ids": ["POST_ID_1", "POST_ID_2"] }'
```

Returns `200` (not 201) with `{ "deletedIds": [...], "notFoundIds": [...] }`. `notFoundIds` holds ids that don't exist or belong to another workspace; a repeated id is reported once, and repeating the same call is harmless. `ids` takes 1-100 UUIDs: `[]` returns `400` "At least one id is required", more than 100 returns `400` "ids cannot exceed 100 entries", a non-UUID returns `400` "Each id must be a valid UUID". One call counts as one request against this endpoint's own limit, separate from `DELETE /social-posts/:id`.

**Delete everything that matches a filter** (for example every scheduled post on one account, after the user confirmed): don't advance `page` while deleting, because later posts shift onto pages you have already read and get skipped. Instead repeat: read `GET /social-posts?socialMediaIds=ACCOUNT_ID&statuses=SCHEDULED&page=0&limit=50`, send the returned ids to `POST /social-posts/bulk-delete`, and stop when `data` comes back empty. Stop on any error too; after a `429`, wait `Retry-After` seconds, then run the loop again.

### 6. Cross-post to multiple platforms

Include multiple entries in the `posts` array, each with a different `socialMediaId`. Each entry has its own `content`, `scheduledAt` and `mediaItems` (the same uploaded keys can be reused across entries), but **one `controls` object applies to every post in the request**: there are no per-post controls. Posts that need different settings (a different Threads topic, Instagram publish type or geotag) go in separate requests.

### 7. Generate a connect link (for clients)

Let clients connect their social accounts to your workspace without creating a PostFast account:

```bash
curl -X POST https://api.postfa.st/social-media/connect-link \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "expiryDays": 7,
    "platforms": ["INSTAGRAM"],
    "redirectUrl": "https://yourapp.com/onboarding/social-connected",
    "externalId": "tenant-42",
    "sendEmail": true,
    "email": "[email protected]"
  }'
```

Returns `{ "connectUrl": "https://app.postfa.st/connect?token=..." }`. Share the URL so they can connect accounts directly. The token is a long JWT: pass the full URL on as returned, never truncate it. Rate limit: 60/hour.

Every field is optional (`expiryDays` is 1-30, default 7):

- `platforms` restricts which of the 11 the link offers. Omit it to offer all of them, and never send an empty array (rejected). The scope is baked into the link's token and enforced server-side, so a scoped link cannot connect any other platform.
- `redirectUrl` makes the connect page offer a `Return to <your host>` button once connecting finishes, carrying `status` (`success` or `error`), plus `platform` and `accountId` on success or `message` on error, plus your `externalId`. `accountId` is the same id `my-social-accounts` returns (for Facebook, the first Page the user picked), so it is the completion signal: there is no webhook and no need to poll and diff. After the Facebook or LinkedIn page step the return URL also carries `accountIds`, every account connected, comma-separated. Bluesky and Telegram connect inside the page and don't offer the button. https only (`http` is accepted on `localhost` / `127.0.0.1` / `[::1]`), max 2000 chars, no credentials in the URL.
- `externalId` is your own reference (a tenant or user id), echoed back unchanged on that return URL. Max 128 chars, `A-Za-z0-9-._~:@` only.
- `sendEmail` + `email` email the link to the client. Delivery is best effort: a failed send still returns the link.

The same fields exist as `generate_connect_link` MCP tool arguments in `postfast-mcp` ≥ 0.6.0.

### 8. Create a draft post

**Two unrelated concepts share the word "draft". Don't mix them up:**

| What you want | How |
|---------------|-----|
| **PostFast draft** (any platform): saved in PostFast, not scheduled, user finalizes from the dashboard | Set `status: "DRAFT"` and **omit** `scheduledAt`. Works for every platform. |
| **TikTok app draft**: pushes the post to the TikTok app's draft inbox so the user finishes editing on their phone | Set `controls.tiktokIsDraft: true`. TikTok-only. This is **not** a PostFast draft state: it still needs `scheduledAt`. |

**⚠️ Common mistake: `status` placement.** `status` is a **top-level** field, sibling of `posts` and `controls`. It is **not** a per-post field. If you put it inside the post object, the API silently ignores it, defaults to `SCHEDULED`, and rejects the request with `"All posts must have scheduledAt when status is not present, as default is SCHEDULED"`.

```jsonc
// ❌ Wrong: status nested inside the post
{ "posts": [{ "content": "...", "status": "DRAFT", "socialMediaId": "..." }] }

// ✅ Right: status at top level
{ "posts": [{ "content": "...", "socialMediaId": "..." }], "status": "DRAFT", "controls": {} }
```

Per-post fields: `content`, `mediaItems`, `socialMediaId`, `scheduledAt` (optional for drafts), `firstComment`.
Top-level fields: `status` (`SCHEDULED` default, or `DRAFT`), `approvalStatus` (`APPROVED` default; `PENDING_APPROVAL` holds the post for review in PostFast instead of publishing it), `controls`.

Unknown fields are ignored, not rejected, wherever they sit. A misspelled or misplaced field returns no error; the setting just doesn't apply, so check field names against this skill when something doesn't take effect.

**PostFast draft (recommended for "save now, schedule later"):**

```bash
curl -X POST https://api.postfa.st/social-posts \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "posts": [{ "content": "Draft idea...", "mediaItems": [], "socialMediaId": "ACCOUNT_ID" }],
    "status": "DRAFT",
    "controls": {}
  }'
```

See [examples/draft-post.json](examples/draft-post.json) for the platform-agnostic pattern, or [examples/tiktok-app-draft.json](examples/tiktok-app-draft.json) for the TikTok-app-inbox case.

### 9. Get post analytics

Fetch published posts with their performance metrics:

```bash
curl -s -H "pf-api-key: $POSTFAST_API_KEY" \
  "https://api.postfa.st/social-posts/analytics?startDate=2026-03-01T00:00:00.000Z&endDate=2026-03-31T23:59:59.999Z&platforms=TIKTOK,INSTAGRAM"
```

**Query parameters:**
- `startDate` (ISO 8601, required): start of date range
- `endDate` (ISO 8601, required): end of date range
- `platforms` (string, optional): comma-separated filter
- `socialMediaIds` (string, optional): comma-separated account UUIDs

Returns `{ "data": [{ id, content, socialMediaId, platformPostId, publishedAt, latestMetric }] }`. Only `PUBLISHED` posts that have a `platformPostId` appear. There is no pagination, so keep date ranges reasonable. Rate limit: 1,260/hour, 12,600/day.

`latestMetric` fields: `impressions`, `reach`, `likes`, `comments`, `shares`, `totalInteractions`, `fetchedAt`, `extras`. The count fields are strings (bigint). `latestMetric` is null if metrics haven't been fetched yet.

**Video watch-time** (video posts only): `latestMetric` also carries `avgWatchTimeSeconds` and `totalWatchTimeSeconds` (seconds, rounded to 2 decimals) on Facebook, Instagram Reels, YouTube, Pinterest, LinkedIn company pages, and TikTok, plus `videoViews` where the platform reports views separately from impressions (not on Instagram, YouTube, or TikTok). Unlike the counts, these are plain JSON numbers. TikTok additionally exposes `total_time_watched`, `average_time_watched`, `full_video_watched_rate` (completion rate), and `favorites` in `extras`. These are averages and totals, not a per-second retention curve (no platform exposes that). Fields are omitted when there is no data, and always on Threads, X, and personal accounts. Numbers lag 24-48h, and reach keeps building over the first week or so.

**Instagram engagement rates**: Instagram posts also carry `saveRate` on `latestMetric` (saves ÷ reach as a percentage, rounded to 2 decimals; feed posts, Reels, and carousels). Instagram Reels additionally carry `reelsSkipRate` (percentage of viewers who skipped the reel in the first 3 seconds, rounded to 2 decimals; may be absent on low-view reels or until metrics refresh).

**Supported platforms for analytics:** Facebook, Instagram, Threads, LinkedIn, TikTok, YouTube, Pinterest. LinkedIn personal accounts are excluded. YouTube returns views, likes, comments, and total interactions (no reach or shares).

**Pinterest specifics** (requires a Pinterest business account):

Canonical fields:
- `impressions`, `likes` (reactions: heart/applaud/idea/etc.), `comments`: **lifetime** totals from Pinterest's pin endpoint.
- `shares`: **90-day rolling save count**. This is the only canonical field that isn't lifetime; Pinterest's v5 API does not expose lifetime save totals.
- `totalInteractions`: sum of pin clicks + outbound clicks + saves + reactions + comments. Mostly lifetime, but the saves portion is 90-day, so treat it as a "best available" interaction total rather than strictly lifetime.
- `reach`: always null (Pinterest doesn't return it).

`extras` (lifetime):
- `pin_clicks`: opens of the pin's close-up view
- `outbound_clicks`: clicks to the destination URL
- `engagement`, `engagement_rate`, `pin_click_rate`, `outbound_click_rate`: Pinterest's lifetime analytics fields, passed through when present

`extras` (90-day rolling):
- `impressions_90d`, `pin_clicks_90d`, `outbound_clicks_90d`: same metrics as their lifetime counterparts but for the last 90 days
- `save_rate`: saves ÷ impressions over the 90-day window

`extras` for video pins (when present):
- `video_mrc_views`, `video_avg_watch_time`, `video_v50_watch_time`, `video_10s_views`, `video_start`, `quartile_95_percent_view`

Refresh cadence: every 6 hours for pins under 14 days old, once a day for pins 14–60 days old. You can also trigger a manual refresh from the dashboard.

### 10. Get follower history

Daily follower/subscriber snapshots for a connected account:

```bash
curl -s -H "pf-api-key: $POSTFAST_API_KEY" \
  "https://api.postfa.st/social-media/ACCOUNT_ID/follower-history?from=2026-05-01T00:00:00.000Z&to=2026-05-31T23:59:59.999Z"
```

Returns:
```json
{
  "socialMediaId": "account-uuid",
  "series": [{ "capturedAt": "2026-05-01T00:00:00.000Z", "followerCount": "102" }],
  "currentFollowerCount": "106",
  "delta": "4",
  "trackingStartedAt": "2026-04-20T00:00:00.000Z"
}
```

- `from` / `to` (ISO 8601, optional): default last 90 days, range capped at 365 days.
- All counts are strings (bigint). `series` is oldest-first. `delta` is the signed net change across the range (`"-123"` for a drop, `"57"` for growth, no leading `+`). `series` and `delta` cover the requested range; `currentFollowerCount` and `trackingStartedAt` cover the account's whole history.
- Tracking is **forward-only**: snapshots begin at `trackingStartedAt` (when PostFast started recording the account), with no backfill before then. `currentFollowerCount`, `delta`, and `trackingStartedAt` may be absent until the first snapshot lands.
- An id that isn't in your workspace returns `200` with an empty `series`; a non-UUID returns `400`.
- **Coverage**: Facebook Pages, Instagram, YouTube (approximate; channels that hide their subscriber count return null), Pinterest, Threads, Bluesky, Telegram (the PostFast bot must stay in the chat), LinkedIn company pages, TikTok. **Not available**: X, Google Business Profile, personal accounts.

## Common Patterns

### Pattern 1: Cross-platform campaign

Post the same content to LinkedIn, X, and Threads at the same time:

```bash
curl -X POST https://api.postfa.st/social-posts \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "posts": [
      { "content": "Big announcement!", "mediaItems": [], "scheduledAt": "2026-06-15T09:00:00.000Z", "socialMediaId": "LINKEDIN_ID" },
      { "content": "Big announcement!", "mediaItems": [], "scheduledAt": "2026-06-15T09:00:00.000Z", "socialMediaId": "X_ID" },
      { "content": "Big announcement!", "mediaItems": [], "scheduledAt": "2026-06-15T09:00:00.000Z", "socialMediaId": "THREADS_ID" }
    ],
    "controls": {}
  }'
```

See [examples/cross-platform-post.json](examples/cross-platform-post.json) for a complete example.

### Pattern 2: Instagram Reel with upload

1. Get signed URL with `contentType: "video/mp4"`
2. PUT video to signed URL
3. Create post with `instagramPublishType: "REEL"`

Optional: add a custom cover image by uploading a JPEG (max 8MB) via the same 3-step flow, then set `coverImageKey` in the media item. You can also set `coverTimestamp` (milliseconds) as a fallback frame.

See [examples/instagram-reel.json](examples/instagram-reel.json) for the basic request, or [examples/instagram-reel-cover.json](examples/instagram-reel-cover.json) for a Reel with a custom cover image.

### Pattern 3: TikTok video with interaction settings

Upload video, then post with interaction controls:

```bash
# controls object:
{
  "tiktokAllowComments": true,
  "tiktokAllowDuet": false,
  "tiktokAllowStitch": false,
  "tiktokBrandContent": true
}
```

**`tiktokPrivacy` is deprecated. Don't set it.** TikTok videos publish at the account's default privacy (no per-post control) and photos default to public. For a private post, save it as a TikTok app draft (`tiktokIsDraft: true`) and set visibility on the phone.

**Sound:** `tiktokMusicSoundId` (a `musicSoundId` from the tiktok-sounds helper) attaches a licensed trending track to a photo carousel **or** a video; on a video the track and the video's original sound each play at 50% volume (no volume or trim controls). `tiktokAutoAddMusic: true` lets TikTok pick a track, photo posts only. The two are mutually exclusive (both set returns `tiktokMusic.conflictAutoAddMusic`). With neither set, a photo post publishes silent and a video keeps its own audio. Music controls are not applied to TikTok app drafts (`tiktokIsDraft: true`).

**TikTok Business account:** `firstComment`, follower history, and analytics watch-time all require a TikTok Business account. New connections and reconnects upgrade to Business automatically.

See [examples/tiktok-video.json](examples/tiktok-video.json).

### Pattern 4: Pinterest pin (board required)

Always fetch boards first, then post:

```bash
# Step 1: Get boards
curl -s -H "pf-api-key: $POSTFAST_API_KEY" \
  https://api.postfa.st/social-media/PINTEREST_ACCOUNT_ID/pinterest-boards

# Step 2: Post with board ID
# controls: { "pinterestBoardId": "BOARD_ID", "pinterestLink": "https://yoursite.com" }
```

See [examples/pinterest-pin.json](examples/pinterest-pin.json).

### Pattern 5: YouTube Short with tags and playlist

Upload video, then post with YouTube controls:

```bash
# controls object:
{
  "youtubeIsShort": true,
  "youtubeTitle": "Quick Tip: Batch Your Content",
  "youtubePrivacy": "PUBLIC",
  "youtubePlaylistId": "PLxxxxxx",
  "youtubeTags": ["tips", "productivity", "social media"],
  "youtubeMadeForKids": false
}
```

See [examples/youtube-short.json](examples/youtube-short.json).

### Pattern 5b: YouTube video with custom thumbnail

Upload both video and thumbnail image, then reference the thumbnail key in controls:

```bash
# 1. Upload thumbnail image (separate from video upload)
curl -X POST https://api.postfa.st/file/get-signed-upload-urls \
  -H "pf-api-key: $POSTFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "contentType": "image/jpeg", "count": 1 }'
# PUT thumbnail to signed URL

# 2. Upload video (same 3-step flow as always)

# 3. Create post with thumbnail key in controls:
{
  "youtubeIsShort": false,
  "youtubeTitle": "Full Tutorial: Social Media Strategy",
  "youtubePrivacy": "PUBLIC",
  "youtubeThumbnailKey": "image/abc123.jpg",
  "youtubeTags": ["tutorial", "social media"],
  "youtubeMadeForKids": false
}
```

Thumbnail specs: JPEG/PNG recommended, max 2MB, 1280x720 (16:9), min width 640px. Requires phone-verified YouTube channel. If thumbnail upload fails, the video still publishes without the custom thumbnail.

See [examples/youtube-video-thumbnail.json](examples/youtube-video-thumbnail.json).

### Pattern 5c: YouTube video with language and captions

Set the video's language and add your own caption track:

1. Upload the caption file: get a signed URL with `contentType: "application/x-subrip"` (.srt) or `contentType: "text/vtt"` (.vtt) and `count: 1`, then PUT the file. The key looks like `file/uuid.srt`.
2. Upload the video (same 3-step flow as always).
3. Create the post with the video in `mediaItems` and the caption key in `controls`:

```bash
# controls object:
{
  "youtubeIsShort": false,
  "youtubeTitle": "Full Tutorial: Social Media Strategy",
  "youtubePrivacy": "PUBLIC",
  "youtubeLanguage": "en",
  "youtubeCaptionKey": "file/abc123.srt"
}
```

- `youtubeLanguage` is a BCP-47 code (`en`, `en-GB`, `es`, `es-419`, `fr`, `pt-BR`). It sets both YouTube's "Video language" and its "Title and description language". PostFast normalizes the code before sending it (`pt-br` becomes `pt-BR`); an unknown code returns `400 youtubeLanguage.invalid`.
- `youtubeCaptionKey` needs `youtubeLanguage` (otherwise `400 youtubeCaptionKey.languageRequired`). The track is added in that language right after the video uploads, and viewers see it named by its language. YouTube's automatic captions stay available separately. One caption track per video.
- The file must be timed SRT or WebVTT in plain UTF-8, at most 10MB. PostFast checks it when the post is created (`400 media.invalidMedia` if it's missing, empty, over 10MB, or not timed SRT/WebVTT in plain UTF-8). If the captions still can't be added when the video publishes, the video publishes without them.
- Both controls apply to every post in the request and are set at creation only. Videos in different languages, each with its own caption file, go in separate requests.

See [examples/youtube-video-captions.json](examples/youtube-video-captions.json).

### Pattern 6: Google Business Profile post

Always fetch locations first, then post with GBP-specific controls:

```bash
# Step 1: Get locations
curl -s -H "pf-api-key: $POSTFAST_API_KEY" \
  https://api.postfa.st/social-media/GBP_ACCOUNT_ID/gbp-locations

# Step 2: Create a standard post with CTA
# controls: { "gbpLocationId": "accounts/.../locations/...", "gbpTopicType": "STANDARD", "gbpCallToActionType": "LEARN_MORE", "gbpCallToActionUrl": "https://yoursite.com" }
```

Three post types: `STANDARD` (updates), `EVENT` (time-bound), `OFFER` (deals with coupons). EVENT and OFFER require `gbpEventTitle`, `gbpEventStartDate`, `gbpEventEndDate`.

See [examples/gbp-standard.json](examples/gbp-standard.json), [examples/gbp-event.json](examples/gbp-event.json), and [examples/gbp-offer.json](examples/gbp-offer.json).

### Pattern 7: LinkedIn document post

Documents (PDF, PPTX, DOCX) display as swipeable carousels on LinkedIn.

1. Get signed URL with `contentType: "application/pdf"`
2. PUT the file to signed URL
3. Create post using `linkedinAttachmentKey` instead of `mediaItems`

```bash
# controls: { "linkedinAttachmentKey": "file/uuid.pdf", "linkedinAttachmentTitle": "Q1 Marketing Playbook" }
# Note: mediaItems should be [] when using linkedinAttachmentKey
```

See [examples/linkedin-document.json](examples/linkedin-document.json).

### Pattern 8: First comment (auto-posted after publish)

Add a `firstComment` to any post. It's auto-posted ~10 seconds after the main post goes live (up to 3 retries):

```json
{
  "posts": [{ "content": "Main post text", "firstComment": "Link: https://postfa.st", "mediaItems": [], "scheduledAt": "...", "socialMediaId": "X_ID" }],
  "controls": {}
}
```

Supported on: X, Instagram, Facebook, YouTube, Threads, and TikTok. NOT supported on: Pinterest, Bluesky, LinkedIn, Google Business Profile (a validation error). **TikTok caveat:** max 1,200 chars, comments must be enabled on the post, and a TikTok account that can't post comments is rejected with `firstComment.tiktok.notSupported`. On X, a link in the first comment counts toward the monthly X link-post allowance (see [Rate Limits](#rate-limits)).

See [examples/x-first-comment.json](examples/x-first-comment.json).

### Pattern 9: X (Twitter) retweet

Schedule a retweet (content and media are ignored):

```json
{
  "posts": [{ "content": "", "scheduledAt": "...", "socialMediaId": "X_ID" }],
  "controls": { "xRetweetUrl": "https://x.com/username/status/1234567890" }
}
```

See [examples/x-retweet.json](examples/x-retweet.json).

### Pattern 10: Batch scheduling (a week of posts)

Schedule multiple posts at different times in a single API call (up to 15 posts per request; the endpoint allows 180 requests per minute and 420 per day). Before a large batch, check the per-account daily posting limits and the plan's queue ceiling in [Rate Limits](#rate-limits).

See [examples/batch-scheduling.json](examples/batch-scheduling.json).

### Pattern 11: Geotag a post with a place (Facebook / Instagram)

Tag a post with a real-world location in two steps: resolve the place, then attach its `id` in `controls`.

**Step 1. Resolve the place** (returns up to 100 address-carrying Facebook Pages, cached 7 days):

```bash
curl -sG "https://api.postfa.st/social-media/search-places" \
  --data-urlencode "q=national palace of culture" \
  -H "pf-api-key: $POSTFAST_API_KEY"
# → [{ "id": "1559011447688271", "name": "...", "link": "https://www.facebook.com/1559011447688271", "city": "Sofia", "country": "Bulgaria", "zip": "1463", "pictureUrl": "https://graph.facebook.com/.../picture?type=small" }]
```

`q` needs at least 2 characters. The returned `id` is a Facebook Page ID that carries location data, and it works on both networks.

**Step 2. Attach the `id`** in the `controls` object (same value either way):

- Facebook feed post: `"facebookPlaceId": "1559011447688271"`
- Instagram single-media post: `"instagramLocationId": "1559011447688271"`

Optionally add `facebookPlaceName` / `instagramLocationName` for a readable label. Those are display-only: PostFast stores them for your dashboard and never sends them to Meta.

**Where a geotag is allowed:**

- `facebookPlaceId`: Facebook feed posts only (text, photo, carousel). Not Reels, Stories, or video.
- `instagramLocationId`: a single image, video, reel, or story. Not carousels (2 or more media items).

**Limit a Facebook feed post to specific countries** (optional, combine with a geotag):

```jsonc
"controls": { "facebookPlaceId": "1559011447688271", "facebookTargetCountries": ["BG", "DE", "AT"] }
```

`facebookTargetCountries` takes up to 25 ISO 3166-1 alpha-2 codes and is hard audience gating, not a hint: only logged-in users in those countries can see the post, so total reach drops. Feed posts only.

**Batch geotagged posts by platform.** `controls` apply to every post in the `posts[]` array and each geo field is validated per platform, so send Facebook posts in one request and Instagram posts in another. That keeps a Facebook-only field from landing on an Instagram post and vice versa.

See [examples/facebook-geotag.json](examples/facebook-geotag.json) and [examples/instagram-geotag.json](examples/instagram-geotag.json).

### Pattern 12: Threads post with a topic

`controls.threadsTopicTag` sets the post's topic on Threads: one topic per post, 1-50 characters, no `.` or `&` (an invalid topic returns `400 threadsTopicTag.invalid`). It shows as the post's topic in Threads; if the text also contains a #hashtag, the topic you set wins and the hashtag stays plain text. Only Threads posts use it, and like every key in `controls` it applies to every post in the request, so Threads posts that need different topics go in separate requests.

```json
{
  "posts": [{ "content": "Five things we learned shipping our API", "mediaItems": [], "scheduledAt": "2026-06-15T09:00:00.000Z", "socialMediaId": "THREADS_ID" }],
  "controls": { "threadsTopicTag": "Startups" }
}
```

See [examples/threads-topic.json](examples/threads-topic.json).

### Pattern 13: AI disclosure labels

Three optional booleans (default `false`), each ignored by every platform other than its own:

- `tiktokIsAigc`: TikTok's AI-generated content label
- `instagramIsAiGenerated`: Instagram's "AI info" label on images, videos, reels, stories and carousels (it labels the whole post, not single slides)
- `youtubeContainsSyntheticMedia`: YouTube's altered or synthetic content disclosure (sent only when `true`)

They are set at creation only: there is no route to update a post, and on Instagram the label cannot be removed after publishing. Since `controls` is shared by the whole request, a flag set on a mixed batch applies to every post in it.

See [examples/tiktok-aigc-video.json](examples/tiktok-aigc-video.json).

## Platform-Specific Controls

Pass these in the `controls` object. See [references/platform-controls.md](references/platform-controls.md) for full details.

| Platform | Key Controls |
|---|---|
| **TikTok** | `tiktokTitle` (photo carousels, max 90), `tiktokAllowComments`, `tiktokAllowDuet`, `tiktokAllowStitch`, `tiktokIsDraft`, `tiktokIsAigc`, `tiktokBrandOrganic`, `tiktokBrandContent`, `tiktokAutoAddMusic`, `tiktokMusicSoundId` (trending Commercial Music Library sound from the tiktok-sounds helper below, max 128 chars; photo carousels AND videos on Business-API connections; on a video it plays at 50% over the original sound at 50%; mutually exclusive with `tiktokAutoAddMusic`, sending both is rejected; not applied when `tiktokIsDraft` is true), `tiktokMusicSoundName` (display-only label for the chosen sound, max 256 chars, never sent to TikTok; set it whenever the id is set). `tiktokAutoAddMusic` is photo posts only. `tiktokPrivacy` is **deprecated** (no-op) |
| **Instagram** | `instagramPublishType` (TIMELINE/STORY/REEL), `instagramPostToGrid`, `instagramCollaborators`, `instagramTrialReelStrategy`, `instagramLocationId`, `instagramLocationName`, `instagramIsAiGenerated` |
| **Facebook** | `facebookContentType` (POST/REEL/STORY), `facebookReelsCollaborators`, `facebookPlaceId`, `facebookPlaceName`, `facebookTargetCountries` |
| **YouTube** | `youtubeIsShort`, `youtubeTitle`, `youtubePrivacy`, `youtubePlaylistId`, `youtubeTags`, `youtubeMadeForKids`, `youtubeCategoryId`, `youtubeThumbnailKey`, `youtubeContainsSyntheticMedia`, `youtubeLanguage` (BCP-47 code), `youtubeCaptionKey` (an uploaded .srt or .vtt file; needs `youtubeLanguage`) |
| **LinkedIn** | `linkedinAttachmentKey`, `linkedinAttachmentTitle` (for document posts) |
| **X (Twitter)** | `xRetweetUrl` (retweet) |
| **Pinterest** | `pinterestBoardId` (required), `pinterestLink` |
| **Google Business Profile** | `gbpLocationId` (required), `gbpTopicType`, `gbpCallToActionType`, `gbpCallToActionUrl`, `gbpEventTitle`, `gbpEventStartDate`, `gbpEventEndDate`, `gbpOfferCouponCode`, `gbpOfferRedeemUrl`, `gbpOfferTerms` |
| **Threads** | `threadsTopicTag` (one topic per post, 1-50 chars, no `.` or `&`) |
| **Bluesky** | No platform-specific controls. Text + up to 10 images or 1 video |
| **Telegram** | No platform-specific controls. Text + images/video/mixed media |

## Helper Endpoints

- **Pinterest boards**: `GET /social-media/{id}/pinterest-boards` → returns `[{ id, boardId, name, description, imageUrl }]`. Use `boardId` (not `id`) as `pinterestBoardId`. Boards created after connecting don't sync on their own: the user clicks Sync Boards in the dashboard
- **YouTube playlists**: `GET /social-media/{id}/youtube-playlists` → returns `[{ id, playlistId, title, description, thumbnailUrl }]`. Use `playlistId` (not `id`) as `youtubePlaylistId`
- **GBP locations**: `GET /social-media/{id}/gbp-locations` → returns `[{ id, locationId, title, address, mapsUri }]`. Use `locationId` as `gbpLocationId` in controls. A missing location appears after Sync Locations in the dashboard
- **Follower history**: `GET /social-media/{id}/follower-history?from=&to=` → daily snapshots `{ series: [{ capturedAt, followerCount }], currentFollowerCount, delta, trackingStartedAt }`. Forward-only, default 90d, max 365d. Covers every platform except X and personal Facebook
- **Place search (geotag)**: `GET /social-media/search-places?q=<text>` → returns `[{ id, name, link?, city?, country?, street?, zip?, pictureUrl? }]`. The `id` is a Facebook Page ID that works as BOTH `facebookPlaceId` (Facebook) and `instagramLocationId` (Instagram); `link` is the place's Facebook Page URL. `q` needs min 2 chars, returns up to 100 address-carrying Pages, cached 7 days. Rate limit: 110/hour
- **Connect link**: `POST /social-media/connect-link` → returns `{ connectUrl }`. Let clients connect accounts without a PostFast account. Params: `expiryDays` (1-30, default 7), `platforms` (string[], restricts which platforms the link offers; omit for all 11, empty array rejected, enforced server-side), `redirectUrl` (https except `http` on localhost, max 2000 chars; the connect page then offers a return button carrying `status`, `platform`, `accountId`, `externalId`, plus `accountIds` after the Facebook/LinkedIn page step), `externalId` (your own reference, max 128 chars, `A-Za-z0-9-._~:@`), `sendEmail` (bool, best effort), `email` (required if sendEmail=true). Rate limit: 60/hour
- **TikTok trending sounds**: `GET /social-media/{id}/tiktok-sounds?genre=&countryCode=&dateRange=` → up to 100 trending pre-cleared Commercial Music Library tracks, already ordered by trending rank: `[{ musicSoundId, name, artist, duration, thumbnailUrl, previewUrl, rankPosition, genres, commercialMusicId, fullDurationClipId, trendingClipId }]` (`duration` is the seconds of the exact clip, `previewUrl` plays exactly what gets attached). No pagination: narrow with the params and filter the rest yourself. TikTok **Business-API connections only**: an account connected long ago returns `400 tiktokMusic.requiresBusinessApi` until it is reconnected once. `genre` takes raw TikTok values like `POP`, `HIP_HOP/RAP`, `R&B/SOUL`, `K-POP`, default all genres (URL-encode the `/` and `&`, e.g. `HIP_HOP%2FRAP`); `countryCode` = 2-letter uppercase, default US; `dateRange` = `1DAY | 7DAY | 30DAY | 90DAY`, default 7DAY. Bad values return `400` `tiktokSounds.invalidGenre` / `tiktokSounds.invalidCountryCode` / `tiktokSounds.invalidDateRange`; a valid country with no TikTok chart returns `200 []`; an id that isn't a TikTok account in this workspace returns `404 tiktokSounds.socialMediaNotFound`. The list rotates roughly daily (each filter combination is cached ~6h), so fetch fresh instead of reusing old ids. Use a result's `musicSoundId` as `tiktokMusicSoundId` in the post's controls (plus `tiktokMusicSoundName` for the label). Rate limit: 110/hour

## Social Inbox (Comments)

Read and answer the comments on your connected accounts' posts (TikTok Business connections, Instagram, Facebook Pages, and Threads) through the same API. Comments arrive within seconds of being posted, from the moment an account is connected onward (no history backfill). Comments only: the single DM-shaped action is the official Instagram private reply below. Included on every PostFast plan.

**Conversations** group comments per post and carry 

原文較長,這裡只顯示前 39 KB,完整內容請到來源頁面檢視。

「內容創作」分類下的熱門技能

李白.Skill內容創作

李白.Skill:潤色專家 檢測並消除中文文字中的AI生成痕跡,將生硬的機器輸出轉化為自然流暢的人類文筆。融合規則檢測、分層改寫(詞彙→句式→內容→邏輯→語氣)和六步質控流水線,確保最終文字透過人工審查。

↓ 125萬★ 121user_741dc82b
libai-skill內容創作

李白.Skill:潤色專家 檢測並消除中文文字中的AI生成痕跡,將生硬的機器輸出轉化為自然流暢的人類文筆。融合規則檢測、分層改寫和質控流水線,確保最終文字透過人工審查。

↓ 101.8萬★ 11user_814dbe54
文章去AI味工具內容創作

識別並去掉文字里的 AI 寫作痕跡,讓文字讀起來更像人寫。

↓ 95.1萬★ 767user_ab5ae6ee
影片號爆款短影片拆解(付費版:全能)【零一數科·出品】內容創作

【零一數科·出品】影片號爆款短影片拆解(全能版)(付費版)。影片號爆款短影片拆解(付費版:全能)。一鍵拆解爆款,把一條影片號影片拆成結構分段、爆款歸因、六維評分和可借鑑策略,照著學照著抄。支援影片號分享連結和本地影片,付費全能版遠端分析,1–5 分鐘出視覺化 HTML 報告。

↓ 91.9萬★ 116u_c19e970c
影片號掛車爆單短影片指令碼生成【零一數科·出品】內容創作

【零一數科·出品】影片號掛車爆單短影片指令碼生成(付費版)。一條連結二創指令碼,丟進爆款影片號連結即以此骨架改寫成你的掛車指令碼,或按方向/目的/商品原創多條口播指令碼(含分段表、口播全文、六維質檢評分)。

↓ 55.4萬★ 39u_c19e970c
Humanizer內容創作

把文字里 AI 寫作的典型痕跡挑出來並改寫得更自然,同時保留原意的寫作編輯技能。

↓ 50.9萬★ 1116B*T
中文公文寫作內容創作

用於中文公文、事務性材料和新聞稿件的起草、改寫、壓縮、潤色、審校、文種核對、去口語化、降 AI 味及 Word 格式處理,適用於機關、企事業單位、學校和新聞機構。涵蓋申請、請示、報告、通知、通告、意見、決定、決議、議案、公報、命令、函、覆函、批覆、說明、方案、紀要、公告、公示、通報、制度、規定、辦法、細則、操作規程、工作要點、總結、調研、講話、致辭、主持詞、述職、可研、審查材料、技術需求、新聞訊息、編者按、新聞評論,以及採購、整改、反饋和 AI 算力等場景。

↓ 41.3萬★ 84gongyu0918
影片號爆款文案生成(體驗版)【零一數科·出品】內容創作

【零一數科·出品】影片號爆款文案生成(體驗版)。免費免登入出指令碼,給創作目的、行業、受眾、選題就按爆款結構(Hook-中段-CTA、節奏標籤)產出口播指令碼,資訊不全也能按爆款潛質兜底。本地執行、無需 Key,零成本上手。

↓ 33.9萬★ 94u_c19e970c

相關榜單

看看同類產品的完整排名:

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。