I am trying to display all display_name
values of this JSON page (the max is 25), however I get an error of "cant read property of undefined". My code is as follows:
$(document).ready(function(){
var url= "https://api.twitch.tv/kraken/channels/sodapoppin/follows?client_id=40pbvj5imeg5ma36gla9p8ryfkyyyb&limit=100";
$("button").click(function() {
$.getJSON(url, function(result) {
$.each(result, function(string, field) {
// $.each(string, function(k, v) {
$("#fccStatus").append(string.follows.user + " ");
// });
});
});
});
});
Thank you guys in advance!