Twitter Snowflake IDs: Engineering Unique, Chronological Tweet Identifiers at Scale
Explore how a 64‑bit Snowflake ID packs timestamp, worker and sequence to guarantee globally unique, roughly ordered tweet IDs and why that matters for scalability.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Explore how a 64‑bit Snowflake ID packs timestamp, worker and sequence to guarantee globally unique, roughly ordered tweet IDs and why that matters for scalability.
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.
PKCE lets public clients like SPAs authenticate Twitter users without storing secrets. This post walks through the OAuth 2.0 Authorization Code Flow with PKCE for API v2, including authorization URL construction, token exchange, refresh rotation, and the practical limits you'll hit in production.
Explains Twitter’s fan‑out timeline architecture, how it scales reads, the hybrid approach for celebrity accounts, and the trade‑offs engineers must consider.
Learn how to authenticate, manage rules, open and consume Twitter API v2’s filtered stream, and implement reconnection logic for reliable real‑time tweet capture.
A diagnostic guide for developers hitting Twitter API v1.1's 280-code-point tweet limit and 90-request/15-minute rate ceiling. Includes cause table, ordered checks, code-level fixes for truncation and 429 handling, and escalation triggers.
Learn how to implement cursor-based pagination and handle HTTP 429 rate limits when fetching user timelines using the X (Twitter) API v2.
Learn how to implement the Twitter API v2 Filtered Stream to ingest real-time tweets using server-side rules, chunked HTTP responses, and robust failure recovery strategies.
A decision guide for engineering teams integrating Twitter API v2: compare bearer token reads, OAuth 1.0a posting, and access tiers before building.