← 返回
内容创作 Key 中文

Publora Mastodon

Post or schedule content to Mastodon using the Publora API. Use this skill when the user wants to publish or schedule Mastodon posts via Publora.
使用 Publora API 在 Mastodon 上发布或定时发布内容,适用于通过 Publora 发布或排程 Mastodon帖子的需求。
sergebulaev
内容创作 clawhub v1.2.0 2 版本 100000 Key: 需要
★ 0
Stars
📥 803
下载
💾 14
安装
2
版本
#latest

概述

Publora — Mastodon

Mastodon / Fediverse platform skill for the Publora API. For auth, core scheduling, media upload, and workspace/webhook docs, see the publora core skill.

Base URL: https://api.publora.com/api/v1

Header: x-publora-key: sk_YOUR_KEY

Platform ID format: mastodon-{accountId}

> Note: Publora currently posts to the mastodon.social instance. Other instances are not supported at this time.

Platform Limits (API)

PropertyLimitNotes
------------------------
Text (toot)500 charactersInstance-configurable; some allow 5,000+
ImagesUp to 4 × 16 MBJPEG, PNG, GIF, WebP
Video~99 MBMP4, MOV, WebM; no duration limit, capped by size
Text only✅ Yes
Rate limit30 media uploads/30 min300 requests/5 min per account

Post a Toot (text)

await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Hello Fediverse! Building open, decentralized tools for everyone. #fediverse #opensource',
    platforms: ['mastodon-123456789']
  })
});

Schedule a Toot

body: JSON.stringify({
  content: 'Your Mastodon post here',
  platforms: ['mastodon-123456789'],
  scheduledTime: '2026-03-20T10:00:00.000Z'
})

Post with Image

import requests

HEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }

# Step 1: Create post
post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
    'content': 'Here is a photo from our event 📷 #community',
    'platforms': ['mastodon-123456789']
}).json()

# Step 2: Get upload URL (up to 16 MB, JPEG/PNG/GIF/WebP)
upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
    'postGroupId': post['postGroupId'],
    'fileName': 'photo.jpg',
    'contentType': 'image/jpeg',
    'type': 'image'
}).json()

# Step 3: Upload
with open('photo.jpg', 'rb') as f:
    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)

Platform Quirks

  • mastodon.social only — Publora currently supports this instance
  • Generous image limit: 16 MB per image, much more than most platforms
  • Video capped by size (~99 MB default) — no explicit duration limit
  • WebP supported — unlike Instagram, Mastodon accepts WebP natively
  • Federation: Posts federate automatically to the broader Fediverse
  • Hashtags: Important for discoverability on Mastodon — use them in posts
  • Content warnings: Not directly supported via Publora API yet; use text conventions if needed

版本历史

共 2 个版本

  • v1.1.0
    2026-03-30 00:43
  • v1.2.0 当前
    2026-03-27 21:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Publora Linkedin

sergebulaev
使用 Publora API 在 LinkedIn 上发布或定时发布内容。适用于用户需要发布或预约 LinkedIn 帖子、获取分析(如曝光)数据的场景。
★ 1 📥 1,164
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,464
content-creation

Humanizer

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