Skip to content

Instantly share code, notes, and snippets.

View Breci's full-sized avatar

Breci

View GitHub Profile
@Breci
Breci / index.js
Last active February 28, 2019 19:57
Code to reproduce the sendmessage bug in twitch extensions
const request = require('request');
const jwt = require('jsonwebtoken');
const EXTENSION_SECRET = ""; //secret of the extension
const CLIENT_ID = ""; //client id of the extension
const EXTENSION_VERSION = "0.0.1"; //current version of the extension
const EXTENSION_OWNER = ""; //account id of the extension developer
const CONFIGURATION_SERVICE_VERSION="1";//version of the configuration service segment
const TARGETED_CHANNEL = "";