This is sort of a PSA for anyone who wants to build the source. This is not an actually error.
Twitch recently updated their API and it now requires passing the Client-ID when making API calls to Kraken. Please see #20.
Because of Twitch's changes to the API, it is now required to pass the Client-ID, which the build does. However, I did not want to upload my Client-ID directly into the source because I expect some users will be building this on their own, possibly integrating it into their own applications, etc.
This is sort of a PSA for anyone who wants to build the source. This is not an actually error.
Twitch recently updated their API and it now requires passing the Client-ID when making API calls to Kraken. Please see #20.
Because of Twitch's changes to the API, it is now required to pass the Client-ID, which the build does. However, I did not want to upload my Client-ID directly into the source because I expect some users will be building this on their own, possibly integrating it into their own applications, etc.
To fix Error 400 you need to get a Client-ID:
http://localhost
into the Redirect URI (unless you have another site to enter here)Now you need to insert your Client-ID into the source:
REMOVED FOR GITHUB
with your Client-ID on this line (Line 195 in that source)REMOVED FOR GITHUB
with your Client-ID on this line (Line 251 in that source)headers["Client-ID"] = "YourClientIdHere";
YourClientIdHere
should of course be the Client-ID given to you by Twitch.This will fix the 400 Errors which are due to an invalid Client-ID being passed.