Tweet web intent event gets called twice


I have used twitter web intents for tweet as described in the web intents documentation. However, the twitter events bind function gets called twice when when the tweet button is clicked. Anyone else has this problem?

Script is as follows.

Also twitter.ready function does not work without wrapping it within document.ready function of jquery.


Bah my mistake. Had two tweet buttons on the page and therefore two scripts were getting rendered. Fixed.

closed #3

closed #4