Metricool
2026-03-30
新闻来源:网淘吧
围观:17
电脑广告
手机广告
Metricool 集成
通过 Metricool 的 API 向多个社交平台安排发布帖子。
设置
从 Metricool 仪表板获取您的 Metricool API 令牌。

在~/.moltbot/moltbot.json中添加环境变量:
{
"env": {
"vars": {
"METRICOOL_USER_TOKEN": "your-api-token",
"METRICOOL_USER_ID": "your@email.com"
}
}
}
或者在您的工作空间.env文件中:
METRICOOL_USER_TOKEN=your-api-token
METRICOOL_USER_ID=your@email.com
脚本
获取品牌
列出已连接的品牌及其博客 ID:
node skills/metricool/scripts/get-brands.js
node skills/metricool/scripts/get-brands.js --json
安排帖子
node skills/metricool/scripts/schedule-post.js '{
"platforms": ["linkedin", "x", "bluesky", "threads", "instagram"],
"text": "Your post text here",
"datetime": "2026-01-30T09:00:00",
"timezone": "America/New_York",
"blogId": "YOUR_BLOG_ID"
}'
参数:
platforms:数组 — linkedin, x, bluesky, threads, instagram, facebooktext:字符串或包含各平台特定文本的对象(见下文)datetime:用于安排发布的 ISO 格式日期时间timezone:时区(默认:America/Chicago)imageUrl:可选的公开可访问图片URLblogId:来自 get-brands.js 的品牌ID
各平台文本:
{
"text": {
"linkedin": "Full LinkedIn post with more detail...",
"x": "Short X post under 280 chars",
"bluesky": "Bluesky version under 300 chars",
"threads": "Threads version under 500 chars",
"instagram": "Instagram with #hashtags"
}
}
列出已安排的帖子
node skills/metricool/scripts/list-scheduled.js
node skills/metricool/scripts/list-scheduled.js --start 2026-01-30 --end 2026-02-05
获取最佳发布时间
node skills/metricool/scripts/best-time.js linkedin
node skills/metricool/scripts/best-time.js x
字符限制
| 平台 | 限制 |
|---|---|
| 3,000 | |
| X/Twitter | 280 |
| Bluesky | 300 |
| Threads | 500 |
| 2,200 |
图片要求
- 必须是公开可访问的URL(S3、GCS等)
- 推荐格式:PNG、JPG
- 方形图片最适合Instagram/Threads
- 宽幅图片(1.91:1)最适合X/LinkedIn
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~