Skip to content

Twitch-Addons sample

Using the Twitch-Addons sample bundle

The Twitch-Addons example bundle in samples/twitch-addons demonstrates the ability to send requests to the APIs of BetterTTV, and FrankerFaceZ.


You will need a working nodecg-io installation. If you have non yet take a look at installation guide. You may need to install this bundle, so take a look at the “Try an included sample”-Guide. It will also tell you how to log in and how to use the GUI.

You also need:

  • A Twitch oAuth-Key


If you don't have such a key yet, you can generate it on Just log into your Twitch account and copy the token. You can also use any other token. There are no special scope requirements as the token is only used to convert channel names to IDs.

Configure the Twitch-Addons sample bundle

  1. In NodeCG, create a new twitch-addons service instance.

  2. Enter your Twitch OAuth Key:

        "oauthKey": "oauth:abcdef...."

    After entering it, click save.

  3. Set the sample's (twitch-addons) dependency to be the newly created service instance (of type twitch-addons).

  4. Check the NodeCG logs:

    You should see an error or a success message and all BetterTTV and FFZ emotes from the twitch channel #derniklaas