Again, this is assuming you’re using the correct endpoint. Post the source to getInfo(callback) if this doesn’t end up working.
Twitch.init({clientId: '627272'}, function(error, status) {
console.log(status);
if (status.authenticated) {
$('.twitch-connect').hide();
getInfo(function(data) {
$('user').text(data.display_name);
$('#picture').attr('src',data.logo);
$('#visit').text('Channel').attr('href',data.url);
});
} else {
$('#login-info').hide();
}
});