Thursday, May 22, 2014

Add the Twitter Follow Button to your Website

Hi friends.In this article am going to show you how to add twitter follow button in your website.Social websites are very important for websites.



Please find the below steps:

Step 1: Click here to get twitter button code.
Step 2: Copy and Paste code under using Javascript

HTML Form

 <a href="https://twitter.com/vinothkumar23" class="twitter-follow-button" data-show-count="true" data-lang="en" >Follow @vinothkumar23</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Step 3: Configure follow button.Use the following options.Many options are available in twitter button configuration.
If you want to display followers in buttons.use the following option.
data-show-count = true

If you want to display large button.use the following option.

Two button options are available in twitter follow button.
1.Large
2.Small

For Large button use the following code
data-size = large

Step 4 : Save and Upload.Now you will see twitter follow button in your website.

No comments:

Post a Comment