Skip to main content
Every object in the PostFlow API has a unique ID. PostFlow uses a system called “Snowflake ID” created by Twitter. These IDs are 64-bit unsigned integers. Some programming languages (JavaScript) cannot accurately represent 64-bit integers.
You must ALWAYS use strings for PostFlow IDs in your code.

String vs integer in Javascript

In JavaScript, integers are limited to 53 bits. This causes precision loss with large IDs:

Comparing IDs

Examples of how you can compare PostFlow IDs: