post-page

WordPress and the new Twitter Button

6
responses
by
 
on
August 15th, 2010
in
HOW-TO, WordPress, WordPress Plugins, WordPress Tips
heading
heading
heading
6
Responses

 

Comments

  1. @TweetSmarter (1 comments.) says:

    Do any of these incorporate @tschellenbach’s fix http://j.mp/9aW6aW

    Instead of the standard Twitter version:

    Use the async method, or your site can have trouble loading when Twitter is down:

    //async script, twitter button fashiolista.com style
    (function() {
    var s = document.createElement(‘SCRIPT’);
    var c = document.getElementsByTagName(‘script’)[0];
    s.type = ‘text/javascript';
    s.async = true;
    s.src = ‘http://platform.twitter.com/widgets.js';
    c.parentNode.insertBefore(s, c);
    })();

  2. Richard Hay (32 comments.) says:

    I have been using STC for a while now and was glad to see they incorporated this within just a day or two.

  3. Mark Ghosh (386 comments.) says:

    Added STC to this blog. Thanks for the suggestion and thanks to Otto for some fantastic work, as usual!

  4. Andy Beard (25 comments.) says:

    Many of the plugins I have seen have the following problems

    1. Don’t handle comment pagination, as they assume the plugin will only be on the single page.
    2. If the links appear in feeds, they don’t add full parameters to the share links so the links still work
    3. If javascript is switched off, whilst a link can be created based upon a referrer, the Tweet text is not propagated.

    That is why I knocked together a quick tutorial on creating a shortcode, though all of it could then be incorporated in a plugin.

    http://andybeard.eu/2907/bette.....utton.html

    Also that Async code has no significant benefit, because currently Twitter serves the javascript from Akamai.
    If Akamai is down or slow, so is most of the internet.

    I still think Topsy in many situations offers a better Tweet count and overview of tweets for a story, & Tweetmeme have the best graphic counter that works in feeds.

  5. Simone (1 comments.) says:

    Nice article!!
    I put the tweet button on my blog and I feel good.
    I just believe that there is a problem with the counting.

    Has anyone had this problem?
    Thanks



Obviously Powered by WordPress. © 2003-2013

page counter
css.php