Skip to content

Guides

Twitch

Twitch is a source for VODs, live chat and viewer-made clips, which is where most moment detection starts.

About 15 minutesNeeded for: Source: VODs, live chat, viewer clips

Values like {{redirect_uri}} are filled in for you by the Spikecut setup wizard. Reading this outside the app? Copy the value from your workspace.

Before you start

Twitch requires two-factor authentication on the account that registers a developer application. Turn it on first if it is off.

Steps

  1. Go to dev.twitch.tv/console and sign in. Open Applications and choose Register Your Application.
  2. Name: {{app_name}}.
  3. OAuth Redirect URL: {{redirect_uri}}. It must match exactly, including the trailing slash if there is one.
  4. Category: pick the option that best fits a personal automation tool. UI labels change, check the screen.
  5. Client Type: choose Confidential, so you can have a client secret.
  6. Create the application, then open Manage on it.
  7. Copy the Client ID. Press New Secret and copy the Client Secret. The secret is shown once.
  8. Paste both into the Twitch step in the setup wizard. The wizard warns you if the two look swapped.
  9. Press Connect Twitch and approve the permission screen. The scope requested is user:read:chat. If the streamer authorizes clip creation, a clip scope is requested as well.
  10. Press Test connection. It makes a Get Users call and a Get Clips call.

Known limits

  • EventSub chat needs the user token, so the connect step must be completed, not just the Client ID and Secret.
  • Clip scopes are only requested when the streamer authorizes them.
  • Twitch changes API rules from time to time. If a test fails, the wizard shows the plain-English reason.
Start free trial

The wizard tests each connection for you and explains any error in plain English.