跳到正文
TakoAPI
返回技能列表

twitter-api

由 gan12003 提供

Coding Agents & IDEs
631下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Cookie-based Twitter/X automation toolkit (timeline, notifications, posting, follow ops) for OpenClaw agents.

描述

该技能的功能

Cookie-based Twitter/X automation client using auth_token and ct0 session cookies instead of official API keys. Covers timeline reading, notification analysis, posting, and follow operations across multiple accounts. Built for async use with modular support for tweets, users, DMs, and relationships.

Bypasses the official Twitter/X API tier restrictions by using browser session cookies, making it accessible without paid API access.

何时使用

  • Summarize home timeline activity each morning
  • Monitor mentions and engagement signals from notifications
  • Post tweets from multiple managed accounts via scripts
  • Auto-follow accounts based on agent-driven criteria
  • Analyze notification patterns to detect trending interactions

示例工作流

输入

User asks: post 'hello world' from account_a and follow @thenfter07

智能体
  1. 1

    Reads ACCOUNT_A_AUTH_TOKEN and ACCOUNT_A_CT0 from .env

  2. 2

    Calls post_custom_tweet.py with account_a and the message text

  3. 3

    Confirms tweet posted successfully

  4. 4

    Calls follow_account.py with target handle thenfter07

  5. 5

    Confirms follow operation completed

输出

Tweet posted from account_a and @thenfter07 followed

前置要求

  • Twitter/X account session cookies (auth_token and ct0) for each account, extracted from a logged-in browser session

安装

clawhub install gan12003/twitter-api

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接