Client-ID Required for Kraken API calls
See original GitHub issueChallenge Name
https://www.freecodecamp.com/challenges/use-the-twitchtv-json-api
Issue Description
JSONP calls to the channels API result in a bad request. This is due to an update to the Twitchtv API which now requires a client id, which means creating an account and registering your application with the service. Details can be read from the official developer blog:
https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.pm46cq40d
I confirmed this by console logging the response object from the channels API on my application and comparing it with the example provided by Free Code Camp (see screenshots).
Browser Information
N/A
Your Code
Screenshot
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:36 (19 by maintainers)
Top Results From Across the Web
Client-ID required for Kraken API calls - Twitch Blog
TL;DR: On Monday, August 8th, 2016, we're going to really-for-real require the Client-ID header on all of your API requests to Kraken.
Read more >Add ClientID to a javascript GET request on Twitch Kraken API
I have JavaScript code that used to work fine, but now the twitch kraken API uses a Client ID parameter... I have my...
Read more >Kraken REST API Documentation
This document details use of Kraken's REST API for our spot exchange. ... endpoints (trading, funding, user data) which require requests to be...
Read more >OAuth 2.0 Client Credentials (2-legged flow) - KrakenD
Through the OAuth 2.0 Client Credentials Grant, KrakenD can do a 2-legged OAuth2 flow, which means that the gateway requests to your ...
Read more >Create and Manage an OAuth App - GitKraken Client ...
The access token you receive in response will be in a JSON document. This token can be used to make API calls on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My opinion is that there should be one static JSON version for those who do not want to create a twitch account and leave instructions about the requirement for a Client ID, for those who don’t mind creating a twitch account.
The privacy of the Client ID is a non-issue, as I wrote here ( https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11015#issuecomment-250957089 )
I think everyone is making a big fuss over this project, since it is very easy to create a client ID and there is no problem in having it public. The only issue I see is the objection of some people in creating an account in a third party website (which is also an issue for using the OpenWeather API and there making the API key public is actually sensitive).
Confirmed, at least to the extent that my (previously-working) Twitch app is now yielding
Bad Request
as well. Should we update the instructions on this challenge to have campers create a Twitch Developer account and read the blog post about setting a Client ID?