Twitter client for agentic use, no API key needed
Top 25.7% on sourcepulse
This package provides a Twitter client that bypasses the need for official API keys, enabling users to scrape tweets, send tweets, retweets, polls, and interact with Grok directly through Twitter's interface. It's designed for developers and researchers who need programmatic access to Twitter data and functionality without the constraints or costs of the official API.
How It Works
The client operates by mimicking browser interactions and leveraging cached cookies for authentication, effectively scraping Twitter's web interface. This approach allows it to perform actions like sending tweets and polls without requiring API credentials. For advanced features like polls and Grok integration, it utilizes Twitter API v2 credentials, but the core scraping functionality remains API-key-free.
Quick Start & Requirements
npm install agent-twitter-client
Highlighted Details
Maintenance & Community
The project is maintained by elizaOS. Further community or roadmap information is not detailed in the README.
Licensing & Compatibility
The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
Grok integration has rate limits (25 messages/2 hours for non-premium) and message history prefilling is limited due to unofficial API usage. The project relies on scraping Twitter's web interface, which is subject to change and potential breakage if Twitter modifies its site structure.
1 month ago
1 week