Fetch user id of a Twitch username or the username of a Twitch user id.
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.