Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
X API 고유 식별자 이해하기
// This loses precision! const id = 10765432100123456789; console.log(id.toString()); // "10765432100123458000" — 잘못됨! // Use strings instead const id = "10765432100123456789"; console.log(id); // "10765432100123456789" — correct!
id
id_str
BIGINT
TEXT
BIGINT UNSIGNED
VARCHAR(20)
# Python - safe for 64-bit integers if int(id1) > int(id2): print("id1 is newer") # JavaScript - 문자열로 비교 (같은 길이의 ID에 대해 사전순으로 작동) # 또는 BigInt 사용 if (BigInt(id1) > BigInt(id2)) { console.log("id1 is newer"); }
1234567890123456789
2244994945
1234567890
1YqGodQbNXDxv