Hi
I am currently validating a user’s access token via “https://api.twitch.tv/kraken”
I am using RestSharp and this works correctly.
var client = new RestClient(“https://api.twitch.tv/kraken”);
var twitchValidateRequest = new RestRequest($"?oauth_token={####TwitchAccessToken####}");
var twitchValidateResponse = client.Execute<List<Model.Twitch.TwitchValidateRootObject>>(twitchValidateRequest);
*** twitchValidateResponse.Data[0].token.valid will now show if the access token is valid or not
I want to do the same with the new API
What is the equivalent URL for the new API so I can do this?
Anything else different?
You must pass the authorisation via a header not as a query string argument. Most if not all of Helix/New API doesn’t accept Auth by query string argument