when i use the .getJSON() FUNCTION to get all channels my code was
var url = “https://api.twitch.tv/kraken/channel?client_id=XXXXX”;
bet it doesn’t work how could i handle with .getJSON() function
Edited out your client ID.
The endpoint is gated by an OAuth token, which you’re not providing in your code. Check out the endpoint documentation and the authentication documentation.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.