I used to use this snippet to re-render a Tweet button.
var tweetButton = new twttr.TweetButton(twitterScript);
twttr.render();
But it looks like widgets.js (http://platform.twitter.com/widgets.js) has been modified so twttr.TweetButton is no longer a constructor.
Can anyone help with this issue?
Looks like the
twttr.TweetButtonconstructor was never supported, and now no longer works after the last API update:The supported method is to create an
iframe-based Tweet button dynamically:Although note @Runningskull’s answer for updated information.