I'm trying to figure out how to determine the number of results returned from a API call to YouTube. I want to create a search function within a YouTube channel, but I need to know how many results to loop through.
Here's my code.
response.length is undefined - but I was just trying a bunch of things I found online.
Thanks for your help!!!
var url = 'http://gdata.youtube.com/feeds/api/users/nba/uploads/-/sports/playoffs?v=2&alt=json';
alert("Data feed title: " + response.data.items.id);
alert("Length: " + response.length);