Open fabki opened 7 years ago
aye, this script recently stopped working...
Twitch made all calls to the API under 'kraken' path require 'client id'; For details, check out https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.1nqjlhs8h
to fix this library, it probably needs to be modified to accept a new <script>
attribute, like data-clientid
, and the single ajax like has to have the data payload include the clientid. it would not work right out of the box, but it could also include a console.log message if there is garbage/missing clientid
bump
bump, any clean way to do this in a single .js found yet?
also for reference: https://discuss.dev.twitch.tv/t/announce-when-my-channel-is-live-on-my-website-in-an-html-element-using-js/22648
Is there a possibility to change the script to work with the actual API?
So simply adding " headers: {"Client-ID": "yourclientidhere"}, " to the request don't work.