07 Nov
kirankamble API, Blogging, Html, Programming, SQL, Tips and Tricks, Twitter, Web Development, jquery
Twitter is one of the best social networking site , you need to simply add tweetmeme button to your blog or site to generate the larger amount to traffic to your site. Tweetmeme and Retweet both track the retweets of the site link as well as blog posts also. now you are more intreasted on how to add this button to your site or blog .
here are some simple steps you can add this button on your blog
1. Before adding tweetmeme button to your blog , you need to singin first to your blog
go to Dashboard - > Layout -> Click on Edit HTML
2. now click on Expand Widget templates.
3. now search the following code <data:post.body / >
4. put this code on above this
<script type="text/javascript">
tweetmeme_source = 'talktweetmeme';
tweetmeme_url = ‘ <data:post.url/ > ’;
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js">
</script>

5. tweetmeme provide two button , if you use above code you will see this button on each post
but if you want compact size button add this line in your code , so your code will looks like
<script type="text/javascript">
tweetmeme_style = ‘compact’;
tweetmeme_source = 'talktweetmeme';
tweetmeme_url = ‘ <data:post.url/ > ’;
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js">
</script>
so your button will looks like this way :
![]()
6. ones you done with this save your templates , that it and you will get the retweet button on your post.
thank you.
Leave a reply