if(typeof(twttr) !== ‘undefined’)
{
$(’#twlikenode0’).attr(‘href’,‘http://twitter.com/share’);
$(’#twlikenode0’).attr(‘class’,‘twitter-share-button’);
$(’#twlikenode0’).attr(‘data-count’,‘vertical’);
$(’#twlikenode0’).attr(‘data-url’,document.location.href);
twttr.widgets.load();
}
this flow throw an error TypeError: twttr.widgets is undefined
here twttr object is found.