x-api

Post tweets, read timelines, and search content via the X/Twitter API.

4|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/GPTtang/skill-atlas --skill x-api-gpttang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/GPTtang/skill-atlas/tree/main/skills/social-media/x-api
Command: npx skills add https://github.com/GPTtang/skill-atlas --skill x-api-gpttang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, requests_oauthlib, and includes scripts (resource) components.

What problem does it solve?

This Skill enables programmatic interaction with the X (formerly Twitter) platform, automating tasks like posting tweets, managing timelines, searching content, and analyzing engagement.

Core Features & Use Cases

  • Tweet & Thread Posting: Programmatically publish single tweets or multi-tweet threads.
  • Content Retrieval: Read user timelines, mentions, and search for specific content.
  • Analytics & Integration: Track engagement metrics and build custom X integrations.
  • Use Case: Automate the daily posting of curated news articles to your X account, including relevant hashtags and media.

Quick Start

Use the x-api skill to post the following text as a tweet: "Hello from the X API skill!".

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 using the X API?

Automate posting tweets and multi-tweet threads programmatically using the X API by leveraging OAuth authentication to publish content directly through scripts. This enables automated social media workflows for scheduled content distribution.

Can I use the Twitter API to read user timelines and search for specific content?

Read user timelines, mentions, and search for specific content via the Twitter API using programmatic requests. The skill handles content retrieval operations to extract timeline data and perform targeted searches across the platform.

Does the X API skill support OAuth 1.0a and OAuth 2.0 authentication?

The X API skill supports both OAuth 1.0a and OAuth 2.0 authentication for user and app contexts. This dual authentication support allows flexible integration across different application permission levels and API access tiers.

What's the best way to handle rate limits when automating X API workflows?

Handle rate limits during X API automation by implementing built-in rate limit management within your programmatic scripts. The skill manages API constraints automatically, ensuring automated posting and retrieval workflows remain stable without exceeding platform thresholds.

Do I need requests and requests_oauthlib to build automated Twitter integrations?

Yes, building automated Twitter integrations requires the requests and requests_oauthlib dependencies to handle HTTP requests and OAuth authentication. These libraries provide the foundational environment for executing scripts that interact with the X API endpoints.

Why does programmatic media upload fail when using the X API for social media posting?

Media uploads via the X API fail when authentication context lacks sufficient permissions or when rate limits are exceeded during programmatic social media posting. Ensure OAuth credentials are correctly configured for media endpoints and monitor rate limit headers.