SuperAPI AI 工具集

twitter-automation

通用与其它

查看项目

更新于 10-15 22:39

技能介绍

用途:通过 inference.sh 命令行工具(infsh)自动化操作 Twitter/X,覆盖内容发布、互动和用户管理。

主要能力(应用 ID):x/post-tweet 发布纯文本推文;x/post-create 发布带媒体的帖子;x/post-like 点赞;x/post-retweet 转推;x/post-delete 删除推文;x/post-get 按 ID 获取推文;x/dm-send 发送私信;x/user-follow 关注用户;x/user-get 获取用户资料。

使用方式:先安装并登录 CLI:curl -fsSL https://cli.inference.sh | sh && infsh login。随后以 infsh app run 加应用 ID 和 JSON 输入调用,例如发推 infsh app run x/post-tweet --input '{"text": "Hello from inference.sh!"}';带媒体发帖可先运行 infsh app sample x/post-create --save input.json,编辑 input.json 中的 text 与 media_url 后再执行 infsh app run x/post-create --input input.json。

适用场景:批量或脚本化发布内容、点赞与转推互动、按用户名关注或查询资料、按推文 ID 获取详情或删除、发送私信,以及先调用图像或视频生成应用再媒体发帖的组合工作流。

限制:具体授权方式、API 配额、速率限制、费用与错误处理暂未提供;需已具备 inference.sh 账户并完成登录。