Overview
X (Twitter) tools allow you to interact with the X platform API to post tweets, retrieve user profiles, search for tweets, and get specific tweet information. These tools provide comprehensive social media integration capabilities.Key Features
X_POST: Post tweets to your X accountX_GET_USER_PROFILE: Retrieve user profile informationX_SEARCH_TWEETS: Search for tweets using queriesX_GET_TWEETS: Get specific tweets by ID or criteria
Authentication
To use the X API, you need to create a developer account on the X Developer Platform and generate your API keys. This will provide you with the necessary credentials to authenticate your requests. You will need the following keys:consumer_keyconsumer_secretaccess_tokenaccess_token_secret
Tools
X_POST
Post tweets to your X account. Input:tweet_text(string, required): Tweet content (max 280 characters)image_base64(string, optional): Base64 encoded imageimage_extension(string, optional): Image file extension (jpg, png, etc.)
tweet_id: ID of the posted tweeturl: URL of the posted tweetcreated_at: Timestamp of tweet creation
X_GET_USER_PROFILE
Retrieve user profile information from X. Input:username(string): Username to lookup (without @)
- User profile information including followers count, bio, verification status, etc.
X_SEARCH_TWEETS
Search for tweets using specific queries. Input:query(string, required): Search querymax_results(number, optional): Maximum number of resultsresult_type(string, optional): Type of results (“recent”, “popular”, “mixed”)
- Array of tweets matching the search criteria
X_GET_TWEETS
Retrieve specific tweets by ID. Input:tweet_ids(array, required): Array of tweet IDs to retrieve
- Array of tweet objects with detailed information
Examples
Example: Post a Tweet
Example: Get User Profile
Example: Search Tweets
Use Cases
- Social media automation and scheduling
- Social listening and brand monitoring
- Customer engagement and support
- Content amplification and marketing
- Real-time trend analysis
- Community management
Jinba Toolbox