Foreign language (Chinese) user_name doesn't work with Twitch.Embed() or APi endpoints

Hello, when using the API endpoint “helix/streams” and the return objects user_name is in a foreign language (ex. Chinese) it won’t work with Twitch.Embed() or API endpoints so I can’t get their English username either without their user_id, but passing the user_id in the URL is not preferable.

Anyone have any good ideas for getting Twitch.Embed() to work with only their (foreign language) user_name on page load, instead of passing their user_id in the URL.

Take the user ID/broadcasterID from the streams endpoint and look up that ID against the users API to get the login

This bug is filed on GitHub at

Ah oke, Thanks!

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