How To : Add Follow Me on Twitter Button to Website/Blog
Actually, you can find a lot of “Follow Me” buttons in the internet. You can use a image and linking it to your Twitter page. But, that’s too complicated for your visitors. Tweetmeme also provides a follow me button, but now I’m gonna tell you about how to add a Follow me on Twitter button using Twitter Apps. Do not imagine that you will do very complicated things to get this cool button. Ok, just follow these steps.
1. You need to register a new app on Twitter. Go to Twitter Anywhere to create it.
Change the application name and other information with yours.
2. You will get a code snippet after save your application. The code should be like this.
<head>
<script src="http://platform.twitter.com/anywhere.js?id=jsdfuyrueyrtuweyrwe&v=1">
</script>
<script type="text/javascript">
twttr.anywhere(function(twitter) {
twitter.hovercards();
});
</script>
</head>
There is head tag in the code, you must remove it before you place that code in your head tag. After that, insert the following addition line after twitter.hovercards();
twitter('#follow-twitter').followButton("socialblogr");
Change @socialblogr with your own Twitter username.
Ok, your Follow Me button is almost ready, the final step is calling the button to show on sidebar or anywhere in your website. Add this code to your theme.
<div id"follow-twitter"></div>
Your Follow Me button should be appear like this.
follow me buttontwitter buttontwitter on website
