Loading...
Loading...
Compare original and translation side by side
POST https://aipuejhjwmabtobjrqdz.supabase.co/functions/v1/storyclaw-apiPOST https://aipuejhjwmabtobjrqdz.supabase.co/functions/v1/storyclaw-apiSTORYCLAW_API_KEY"To get started, I need your StoryClaw API Key. Please go to https://storyclaw.com/profile → StoryClaw API Key, copy it and paste it here."
get_social_status{ "storyclaw_api_key": "<STORYCLAW_API_KEY>", "action": "get_social_status" }"Your API Key appears to be invalid. Please go to https://storyclaw.com/profile → StoryClaw API Key to check and recopy it."
STORYCLAW_API_KEY"开始使用前,我需要您的StoryClaw API密钥。请前往https://storyclaw.com/profile → StoryClaw API Key,复制后粘贴到此处。"
get_social_status{ "storyclaw_api_key": "<STORYCLAW_API_KEY>", "action": "get_social_status" }"您的API密钥无效,请前往https://storyclaw.com/profile → StoryClaw API Key检查并重新复制。"
get_social_status"Please go to https://storyclaw.com/profile → Social Account Binding, and follow the instructions to link your TikTok, Instagram, or other accounts. Come back once done."
get_social_status"请前往https://storyclaw.com/profile → Social Account Binding,按照提示关联您的TikTok、Instagram或其他账号。完成后返回即可。"
| Feature | Description |
|---|---|
| 📝 Publish Post | Publish immediately or schedule |
| 🔍 Query Post List | View post history for a platform |
| 📄 View Post Details | View full details of a specific post |
| 📊 Post Analytics | Likes, views, comments, shares, reach |
| 👥 Account Analytics | Followers, following, impressions |
| 🗑️ Delete Post | Delete a specific post |
| 功能 | 描述 |
|---|---|
| 📝 发布帖子 | 立即发布或排期发布 |
| 🔍 查询帖子列表 | 查看某平台的帖子历史 |
| 📄 查看帖子详情 | 查看特定帖子的完整信息 |
| 📊 帖子数据分析 | 点赞、浏览量、评论、分享、触达量 |
| 👥 账号数据分析 | 粉丝数、关注数、曝光量 |
| 🗑️ 删除帖子 | 删除特定帖子 |
get_social_statusYour connected platforms:
- TikTok ✅
- Instagram ✅
- Facebook ✅
...
Which platforms would you like to post to?"TikTok requires video content. Since no video is included, TikTok has been removed from the options."
get_social_status您已连接的平台:
- TikTok ✅
- Instagram ✅
- Facebook ✅
...
您想在哪些平台发布帖子?"TikTok需要视频内容。由于未包含视频,已将TikTok从选项中移除。"
publish_postcurl -X POST https://aipuejhjwmabtobjrqdz.supabase.co/functions/v1/storyclaw-api \
-F "action=upload_file" \
-F "storyclaw_api_key=<key>" \
-F "file=@/path/to/photo.jpg" \
-F "folder=my-media"mediaUrlsupload_filemediaUrlspublish_postpublish_postcurl -X POST https://aipuejhjwmabtobjrqdz.supabase.co/functions/v1/storyclaw-api \
-F "action=upload_file" \
-F "storyclaw_api_key=<key>" \
-F "file=@/path/to/photo.jpg" \
-F "folder=my-media"mediaUrlsupload_filemediaUrlspublish_post| Check | Detail |
|---|---|
| File format | Must be in platform's supported list |
| File size | Must not exceed platform max |
| Video duration | Must be within min/max range |
| Resolution / aspect ratio | Must meet requirements |
| Media count | Must not exceed platform max per post |
| Video URL | Must end in known extension (.mp4/.mov) |
| Reddit + video | Reddit does NOT support video — block if selected |
| TikTok + PNG | TikTok does NOT support PNG — block if detected |
| HTTPS | All URLs must start with https:// |
"⚠️ Cannot post: [Platform] requires [requirement], but your [media] [issue]. Please fix and retry."
scheduleDate| 检查项 | 详情 |
|---|---|
| 文件格式 | 必须符合平台支持的格式列表 |
| 文件大小 | 不得超过平台上限 |
| 视频时长 | 必须在最小-最大范围内 |
| 分辨率/宽高比 | 必须满足要求 |
| 媒体数量 | 不得超过单帖平台上限 |
| 视频链接 | 必须以已知扩展名结尾(.mp4/.mov) |
| Reddit + 视频 | Reddit不支持视频 — 若选中则阻止 |
| TikTok + PNG | TikTok不支持PNG — 若检测到则阻止 |
| HTTPS | 所有链接必须以https://开头 |
"⚠️ 无法发布:[平台]要求[具体要求],但您的[媒体]存在[问题]。请修复后重试。"
scheduleDateisVideo: truescheduleDateisVideoisVideo: truescheduleDate| Platform | Recommended Times |
|---|---|
| TikTok | Weekdays 7–9am, 12–3pm, 7–9pm |
| Tue–Fri 9–11am, 1–3pm | |
| Wed 11am–1pm, Thu 1–3pm | |
| Tue–Thu 8–10am, 12pm | |
| X/Twitter | Mon–Fri 8am, 12pm, 5pm |
| YouTube | Fri–Sun 2–4pm |
| 平台 | 推荐时间 |
|---|---|
| TikTok | 工作日7–9点、12–15点、19–21点 |
| 周二至周五9–11点、13–15点 | |
| 周三11–13点、周四13–15点 | |
| 周二至周四8–10点、12点 | |
| X/Twitter | 周一至周五8点、12点、17点 |
| YouTube | 周五至周日14–16点 |
📋 Post Confirmation
─────────────────
Content: [final content]
Platforms: [selected platforms]
Media: [yes/no]
Post time: [now / specific time]
─────────────────
Confirm posting?publish_post{
"storyclaw_api_key": "<key>",
"action": "publish_post",
"post": "<content>",
"platforms": ["tiktok", "instagram"],
"mediaUrls": ["<url>"],
"scheduleDate": "<ISO8601, omit for immediate>"
}📋 发帖确认
─────────────────
内容:[最终内容]
平台:[选中的平台]
媒体:[是/否]
发布时间:[立即 / 特定时间]
─────────────────
确认发布吗?publish_post{
"storyclaw_api_key": "<key>",
"action": "publish_post",
"post": "<content>",
"platforms": ["tiktok", "instagram"],
"mediaUrls": ["<url>"],
"scheduleDate": "<ISO8601, 立即发布则省略>"
}{ "storyclaw_api_key": "<key>", "action": "get_posts", "platform": "<platform>" }📋 [Platform] Post List:
1. "[content first 40 chars...]" — 2025-01-10
2. "[content first 40 chars...]" — 2025-01-08{ "storyclaw_api_key": "<key>", "action": "get_posts", "platform": "<platform>" }📋 [平台] 帖子列表:
1. "[内容前40个字符...]" — 2025-01-10
2. "[内容前40个字符...]" — 2025-01-08get_posts{ "storyclaw_api_key": "<key>", "action": "get_post", "post_id": "<post_id>" }get_posts{ "storyclaw_api_key": "<key>", "action": "get_post", "post_id": "<post_id>" }{ "storyclaw_api_key": "<key>", "action": "get_analytics_post", "post_id": "<id>", "platforms": ["tiktok"] }{ "storyclaw_api_key": "<key>", "action": "get_analytics_post_by_social_id", "social_post_id": "<id>", "platforms": ["instagram"] }{ "storyclaw_api_key": "<key>", "action": "get_analytics_post", "post_id": "<id>", "platforms": ["tiktok"] }{ "storyclaw_api_key": "<key>", "action": "get_analytics_post_by_social_id", "social_post_id": "<id>", "platforms": ["instagram"] }{ "storyclaw_api_key": "<key>", "action": "get_analytics_social", "platforms": ["instagram", "tiktok"] }{ "storyclaw_api_key": "<key>", "action": "get_analytics_social", "platforms": ["instagram", "tiktok"] }⚠️ Confirm deletion?
"[post content first 40 chars]" will be permanently deleted from all platforms.
Reply "confirm delete" to proceed.{ "storyclaw_api_key": "<key>", "action": "delete_post", "post_id": "<post_id>" }⚠️ 确认删除吗?
"[帖子内容前40个字符]" 将从所有平台永久删除。
回复"confirm delete"继续操作。{ "storyclaw_api_key": "<key>", "action": "delete_post", "post_id": "<post_id>" }| Error | Message |
|---|---|
| 401 Invalid API key | "API Key is invalid. Please copy it again from your profile." |
| 400 No social profile | "No social account linked. Please link one at StoryClaw.com." |
| 500 Internal server error | "Service temporarily unavailable. Please try again later." |
| 错误 | 提示信息 |
|---|---|
| 401 Invalid API key | "API密钥无效,请从个人资料页面重新复制。" |
| 400 No social profile | "未关联任何社交账号,请前往StoryClaw.com关联账号。" |
| 500 Internal server error | "服务暂时不可用,请稍后重试。" |
sk_****...get_social_statussk_****...get_social_status