Mastercom viral marketing and viral video campaigns
Great Celebrity Meme Generator

How to add twitter follow button on blog and website

June 1 2011, 09:30am

Posted by adrien

You can now add a follow button on your site that will help your reader to follow you on twitter directly.

You can also display the number of follower you have.

It will look like this button below.

 

 

You just need to add this javascript code on your site:

 

<a href="http://twitter.com/YOUR-TWITTER-NAME" class="twitter-follow-button">Follow @YOUR-TWITTER-NAME</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>

 

or you can use an iframe for the twitter follow button:

 

<iframe allowtransparency="true" frameborder="0" scrolling="no"   src="http://platform.twitter.com/widgets/follow_button.html?screen_name=YOUR-TWITTER-NAME"   style="width:300px; height:20px;"></iframe>

 

Dont' forget to replace YOUR-TWITTER-NAME in the code.