Using X API v2 App-Only Authentication for Public Profile Metrics
App-only bearer tokens let your server read public X profile metrics without user login. This guide covers the lookup endpoint, a worked curl example, caching, and rate-limit caveats.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
App-only bearer tokens let your server read public X profile metrics without user login. This guide covers the lookup endpoint, a worked curl example, caching, and rate-limit caveats.
Learn how to implement cursor-based pagination and handle HTTP 429 rate limits when fetching user timelines using the X (Twitter) API v2.
A task guide for reliably paginating the X API v2 recent search endpoint using next_token: prerequisites, request procedure, validation checks, and recovery from expired tokens and rate limits.
Pagination Window Stability in Recent Search When building an archival or monitoring workflow around the X API v2 recent search endpoint, the practical concern is whether repeated calls with next_token traverse a fixed snapshot or a continuously shifting index. The endpoint is documented to return Tweets from roughly the last seven days, but it is backed by
The X API v2 employs window-based rate limiting, typically measured in 15-minute intervals, with quotas applied per application or user context. While the x-rate-limit-remaining and x-rate-limit-reset headers provide visibility into the remaining quota, the behavior of these limits during bursts of high-concurrency requests remains a point of design uncertai
Data Migration and Stream Integration A small application currently managing user-specific tweet data in a local database needs to migrate to a new architecture while maintaining continuous uptime. The goal is to transition historical data and real-time updates to a new storage layer without interrupting the user experience. The integration involves using th