Create a simple Twitter Follow

This is a good method to create a follow button that can be integrated almost anywhere: website, WordPress blog, other blogs or sites.

If you don’t want to read the full article, this is the iframe based code. Just replace “nasrimessarra” with your twitter username:
<iframe allowtransparency=”true” frameborder=”0″ scrolling=”no” src=”//”  style=”width:300px; height:20px;”></iframe>

The javascript code is:
<a href=”” data-show-count=”false” data-lang=”en”>Follow @nasrimessarra</a>

    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src=”//”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>

For the full article, follow this link:

Sample (Javascript):

Leave a Reply

Your email address will not be published. Required fields are marked *