What is the underlying data-type of the _id property in responses involving the users Twitch API?
The Get User endpoint example implies the _id property is a number. However, the Get User by ID endpoint returns the ID as a string. Is this intentional, or is this a typo?
Are all Twitch user IDs strictly numeric data, or are some IDs an alphanumeric string? I’m curious about how this applies to stream/channel IDs as well.
TL;DR:
Should my application cache user IDs as strings or as unsigned integers?
You may want to make sure you treat it properly as potentially an integer or string depending on language, but @DallasNChains has stated they’re moving to all strings