Problems with JSON getting data from tmi.twitch.tv api
问题 Problem is when i try to use this code to get the log from tmi.twitch.tv api using url: http://tmi.twitch.tv/hosts?include_logins=1&target=70219146 i get Systax Error Unexpected Token. The code is: $(document).ready(function() { $.getJSON("http://tmi.twitch.tv/hosts?include_logins=1&target=70219146&callback=?", function (data) { console.log(data.hosts) }); }) I can get the data using php and json array like this: $json_array = json_decode(file_get_contents('http://tmi.twitch.tv/hosts?include