跳到正文
TakoAPI
返回技能列表

x-oauth-api

由 ngmeyer 提供

Security & Passwords
954下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Post to X (Twitter) using the official OAuth 1.0a API.

描述

该技能的功能

Posts to X (Twitter) using OAuth 1.0a credentials directly against the X API v2. Supports single tweets, threads, replies, quote tweets, and account lookups on the free tier. Search, mentions, and media uploads require a paid X API tier.

Uses your own X API credentials directly with no proxy or third-party service in the middle, so rate limits and permissions are fully under your control.

何时使用

  • Posting a tweet from an automated agent
  • Creating a multi-part thread from a script
  • Replying to a specific tweet by ID
  • Checking your account info and user ID
  • Deleting a tweet you previously posted

示例工作流

输入

User asks: 'Post a 3-tweet thread about my new project launch'

智能体
  1. 1

    Parse the message into three tweet-sized segments

  2. 2

    Call x thread with all three segments as arguments

  3. 3

    Sign the requests automatically using OAuth 1.0a credentials from environment variables

  4. 4

    Post the thread to X API v2

输出

A 3-tweet thread posted to the user's X account

前置要求

  • X Developer Account with API access
  • X_API_KEY environment variable (Consumer Key)
  • X_API_SECRET environment variable (Consumer Secret)
  • X_ACCESS_TOKEN environment variable
  • X_ACCESS_TOKEN_SECRET environment variable

安装

clawhub install ngmeyer/x-oauth-api

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

链接