x-api

Authenticate with OAuth and interact with X API endpoints for posting and reading.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cescrafli/compyrasion --skill x-api-cescrafli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/cescrafli/compyrasion/tree/main/skills/x-api
Command: npx skills add https://github.com/cescrafli/compyrasion --skill x-api-cescrafli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate interaction with X (Twitter) for posting, reading timelines, searching content, and deriving analytics, reducing manual API work and errors.

Core Features & Use Cases

  • Post tweets and threads programmatically
  • Read timelines, mentions, and user data
  • Search content and analyze trends for insights
  • Build X integrations or bots with authenticated requests

Quick Start

Authenticate with OAuth and post a test tweet to verify the integration.

Frequently Asked Questions about x-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting tweets and threads programmatically?▼

Automate posting tweets and threads programmatically by constructing authenticated requests to X platform endpoints using OAuth 1.0a for user-context actions. This approach reduces manual API work and handles rate-limit errors automatically.

What is the difference between OAuth 2.0 and OAuth 1.0a for X API interactions?▼

OAuth 2.0 Bearer Token is required for read-heavy operations like reading timelines and searching content, while OAuth 1.0a is necessary for user-context actions such as posting tweets. Secure credential management handles both.

Can I read timelines and search content for trend analytics using the X API?▼

Read timelines and search content for trend analytics by enabling programmatic interactions with X. It requires OAuth 2.0 Bearer Token for these read-heavy operations and handles rate limits to derive insights reliably.

How do I handle rate limits when building X integrations or bots?▼

Handle rate limits when building X integrations or bots through built-in error handling and rate-limit management logic. This ensures authenticated requests to platform endpoints do not fail during automated timeline reading or posting.

Do I need OAuth credentials to search content and analyze trends on Twitter?▼

OAuth credentials are required to search content and analyze trends on Twitter. Specifically, OAuth 2.0 Bearer Token authentication is necessary for these read-heavy operations, alongside secure management of your credentials.