Fetch user id of a Twitch username or the username of a Twitch user id.

Latest Version

Version
1.9
Update
January 2, 2022
Size
33.08KiB
Developer
Category
Users
10,000+
Rating
4.27273 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
See more

Twitch Username and User ID Translator Extension

Simple extension that converts Twitch usernames to user ids, and user ids to usernames. Will notify you if the username or user id is invalid. By default, the extension will use a dedicated Twitch account and the TwitchTokenGenerator.com api to acquire an access token to hit the Twitch Helix API GetUsers endpoint. Alternatively, you can provide a client id and secret (found on developer.twitch.tv), and these will be used to generate an access token.

Permissions:
- storage: Used to save your selection of execution mode, as well as the client id/secret. The extension will also use storage to cache the access token generated to avoid needing to make a refresh call every usage.

Changes:
Version 1.9: Adopt manifest v3 and add a privacy policy link (to state that no data is stored or used) to appease Google

Version 1.8: Removes v5 API as Twitch is turning it off in February 2022. Adds support for both built in access token (via twitchtokengenerator.com) by default, as well as the ability to set a client id and client secret from a TwitchDev application. Adds a settings UI that allows you to select which mode, and to fill in the client id/secret as needed.

Version 1.7: Corrects typo in extension name...

Version 1.6: Back to v5 API to avoid needing to use OAuth and OIDC. Kicking the can down the road...

Version 1.5: Auto detection (thanks GhostZero). Copy link and message added. Success/error messages shown/hidden as appropriate.

Version 1.4: Adds support for new Twitch API (Helix), and slight UI changes to make usage easier.
Read more

Source Manifest.json

{ "action": { "default_icon": { "150": "icon.png" }, "default_popup": "form.html" }, "description": "Fetch user id of a Twitch username or the username of a Twitch user id.", "icons": { "150": "icon.png" }, "manifest_version": 3, "name": "Twitch Username and User ID Translator", "options_page": "form.html", "permissions": [ "storage" ], "host_permissions": [], "short_name": "TwitchUsr2ID", "update_url": "https://clients2.google.com/service/update2/crx", "version": "1.9"}
Read more