Show Twitter Followers on Website | Lessoncup Programming Blog

Friday, 17 January 2014

Show Twitter Followers on Website

Hi, today i am going to tell about how to add the Twitter follow button in your website the twitter follow button is very good feature and help you to increase your web traffic via twitter follow button and allow to users to follow your account and it is very easy to integrate in your website.. let us see how we do this..


Add Follow Button to your Website


go to this link https://dev.twitter.com/docs/follow-button and add bellow code in your webpage
  • <a href="https://twitter.com/yourpagename" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @yourpagename</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="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
the bellow options are for follow button
  • to display followers count along with follow button use data-show-count="true"
  • you can change language also using lang=en
  • you can display the screen name also using show_screen_name=true

hope this will help you to keep your twitter follow button in your website or blog.. Thank you to read

1 comment :

  1. - Promote your efforts. It couldn’t hurt to have a contest every once in a while. People like swag. You probably have an extra t-shirt or mug around the office somewhere. Figure out a contest and make it happen.Buy Twitter Followers

    ReplyDelete

Mohammad Khasim
Blogger | Web Developer
Hyderabad - INDIA
lessoncup@gmail.com

PHP | My SQL | JQUERY
Web Development Tools | CMS | Frameworks | SEO

Get my Latest Lessons