Monday, March 3, 2014

How do i put twitter button on my website

put twitter button on your site in easy step as follow:


  1.  get login :   https://dev.twitter.com/
  2. Click on Tweet Button 
  3. write this script on your website :"

<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</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="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> "


Replace share with your app name


No comments:

Post a Comment