Is twttr.events.bind broken?


#1

This code throws an error both on Chrome and Firefox (Mac OS X):

twttr.ready(function (twttr){
  twttr.events.bind('tweet', function (event) {
    // Do something there
  });
});

On Firefox gives this error:
TypeError: e.init is not a function (widgets.js line 42)

On Chrome gives:
Uncaught TypeError: Object function u(e){if(!e)return;var t,r,i,o,u;n.apply(this,[e]),t=this.params(),r=t.size||this.dataAttr(“size”),i=t.showScreenName||this.dataAttr(“show-screen-name”),u=t.count||this.dataAttr(“count”),this.classAttr.push(“twitter-follow-button”),this.showScreenName=i!=“false”,this.showCount=t.showCount!==!1&&this.dataAttr(“show-count”)!=“false”,u==“none”&&(this.showCount=!1),this.explicitWidth=t.width||this.dataAttr(“width”)||"",this.screenName=t.screen_name||t.screenName||s.screenName(this.attr(“href”)),
this.preview=t.preview||this.dataAttr(“preview”)||"",this.align=t.align||this.dataAttr(“align”)||"",this.size=r==“large”?“l”:“m”} has no method ‘init’ widgets.js:42


#2

I have the same problem


#3

I am having the same issue.


#4

Same problem here.


#5

same error here.


#6

I am receiving the same error message. Also receiving this error when opening Tweet with openIntents

Uncaught TypeError: Object function u(e){if(!e)return;var t,r,i,o,u;n.apply(this,[e]),t=this.params(),r=t.size||this.dataAttr(“size”),i=t.showScreenName||this.dataAttr(“show-screen-name”),u=t.count||this.dataAttr(“count”),this.classAttr.push(“twitter-follow-button”),this.showScreenName=i!=“false”,this.showCount=t.showCount!==!1&&this.dataAttr(“show-count”)!=“false”,u==“none”&&(this.showCount=!1),this.explicitWidth=t.width||this.dataAttr(“width”)||"",this.screenName=t.screen_name||t.screenName||s.screenName(this.attr(“href”)),this.preview=t.preview||this.dataAttr(“preview”)||"",this.align=t.align||this.dataAttr(“align”)||"",this.size=r==“large”?“l”:“m”} has no method ‘openIntent’

Seems related


#7

I resolved it (was my fault). I was loading the Twitter script twice.


#8