SuperAPI AI 工具集

threads

通用与其它

查看项目

更新于 10-16 02:35

技能介绍

用途:该技能通过配套的 threads-cli 命令行工具,读取和管理已认证用户的 Threads 数据。消息收件箱与私信线程需使用单独的 threads_messages 技能。

主要能力:支持 accounts(列出账号)、profile、activity-feed、liked-media、saved-posts、insights-overview、post-insights、top-posts、user-profile、profile-threads、profile-replies、profile-media、followers、following、post、fetch-post-comments(别名 comments)、fetch-post-likers(别名 likers)、feedback-hub-overview、feedback-hub-tab、trends、search、feed,以及隐藏的 publish-post 和 dear-algo-whisper。

使用方式:用 exec 运行 threads-cli <target> [options]。除 accounts 外,所有命令都需 --account-id,该值必须来自 accounts 响应中已认证用户自己的 id 字段,应先调用 accounts;若返回多个账号需询问用户选择。--retries 用于重试瞬时失败(默认 0),但 dear-algo-whisper 和 publish-post 不支持重试。账号连接需运行 threads-cli connect-url 并使用其 connect_url;断开需运行 threads-cli disconnect-url 并使用其 disconnect_url,这些 URL 应从命令输出读取而非硬编码。

发布帖子:publish-post 为隐藏写命令,需显式确认,无公开草稿步骤。文本在无媒体时须含至少一个非空白字符,字节原样保留。可包含 1 至 20 个有序本地图片或视频,可选回复指定帖子并设置回复权限。媒体文件须位于工作区,支持 JPEG、PNG、静态 WebP、MP4、MOV,单个不超过 100 MB;MP4/MOV 必须提供 JPEG、PNG 或 WebP 封面,图片不接受封面。回复控制仅接受 everyone、accounts_you_follow、mentioned_only、parent_post_author_only、followers_only。写入使用零重试,失败即终止,后续尝试需新的显式批准。

限制:user-profile 等命令只接受数字 Threads 用户 FBID,不接受用户名或资料 URL。post 命令需 --url 或 --post-id 二选一。feed 与 post 使用与 instagram-cli 相同的 social_posts_v1 展示格式。资料未提供具体收费、价格或平台支持范围等信息。