Get user ID by username (v5)

Today, with v3, you can get user ID using username.

https://api.twitch.tv/kraken/users/breonnagy will return "_id": 51852120

However, in v5 you have to use user id to get the user object. How can you get the user ID if you only have the username?

This shows an example to get the user id from a user name. https://dev.twitch.tv/docs/v5/guides/using-the-twitch-api/

Thanks! I read that page and glossed over the example. :thumbsup:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.