Tweetmeme button not working on my blog

Discussion in 'WordPress' started by glitto, Aug 8, 2009.

  1. #1
    I just published a new post on my blog wherein the "Tweetmeme" plugin is installed, but it is not working.

    It is just saying Fail on the button.

    Is tweetmeme button working on your site correctly?
     
    glitto, Aug 8, 2009 IP
    Moses8595 likes this.
  2. susan8051

    susan8051 Peon

    Messages:
    1,358
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #2
    that is probably because tweetmeme was unable to guess your post url..
    so use something like this
    <script type="text/javascript">
    tweetmeme_url = '<?php the_permalink(); ?>';
    </script>
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>
    Code (markup):
    so that the current post url is passed to the script..
    hope this helps..

    oh just now i noticed that you installed some plugin for that.. :)
    this code can go into your template and replace the need of a plugin. :)
     
    Last edited: Aug 8, 2009
    susan8051, Aug 8, 2009 IP