I am trying to create a panel Extension where the viewer(s) can press a button and the streamer, via the live config panel, can see what buttons are being pressed.
To do this, I am using:
window.Twitch.ext.send("broadcast", "string", "test message");
which fires when the viewer clicks the button.
On the live config I have:
window.Twitch.ext.listen("broadcast", function (data, type, message) { // Do stuff });
Unfortunately, when the viewer tries to send, this is failing with a 403 and the response message reads
Permission denied to use target
I have also tried with whispers in place of “broadcast” and get the same response.
Is it the case that this simply isn’t possible without a trip to my EBS? Given that listen()
and send()
both already exist on Twitch’s end I had assumed it would be a case of just linking into these.
Thanks