{
  "id": 14773213,
  "title": "Twitter Added id_str in 2010 Because JavaScript Can't Hold a Java long",
  "url": "https://urgent.news/2026/10/15/twitter-added-id-str-in-2010-because-javascript-cant-hold-a-java-long",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-15T19:34:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/gabrielanhaia/twitter-added-idstr-in-2010-because-javascript-cant-hold-a-java-long-1p5a"
  },
  "original_language": "en",
  "account": "On October 18, 2010, Twitter informed developers that tweet IDs would change from 53-bit numbers to 64-bit IDs. This change necessitated the inclusion of a string version of each ID to accommodate JavaScript's limitation in representing the larger IDs. The result is the addition of the `id_str` field in the API, which is still present today. Despite the widespread use of this field, it still causes issues when transferring IDs between the server and client, resulting in 404 errors or incorrect data being saved on the server. This issue arises due to JavaScript's inability to accurately represent the larger 64-bit IDs, resulting in rounding errors when the IDs are parsed back into numbers.",
  "summary": "Book: Kotlin and Java to TypeScript Also by me: The TypeScript Library — the 5-book collection My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub On October 18, 2010, Twitter told every developer on its API that tweet IDs were about to change shape. A new generator called Snowflake would produce 64-bit IDs, and…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}