Hi,
It seems like twitter API has some problems regarding the browsers like firefox and chrome. The line below works fine in Internet Explorer and I can bind and display a “Connect with Twitter” button in the div. When it comes to firefox or chrome binding fails and button not displayed.
I have created a page trying to figure out the problem. this page has only a div, nothing else. And I have a .js file with only a single function in it that I call in the “onload” event of the page “body”.
script is below:
function bindConnectButton() {
twttr.anywhere(function (T){
T(’#divToBind’).connectButton();
});
}
this works in IE and Connect with Twitter button is displayed in place of the “divToBind” div.
not working in firefox, chrome, opera.
when I trace the script in firebug it says “T is not defined”.
Can you help me out with this issue please