I have a problem with requesting info, using id and oauth from the app settings but getting a 401 error “Client ID and OAuth token do not math”. What am I doing wrong any thoughts? And here’s a code.
using (var hc = new HttpClient(clientHandler, false))
{
hc.DefaultRequestHeaders.Add("Client-ID", "clientid");
hc.DefaultRequestHeaders.Add("Authorization", "Bearer oauthtoken");
var message = await hc.GetAsync("https://api.twitch.tv/helix/streams?user_login=streamername");
}