Thursday, 6 September 2012

How to add Twitter Follow Button to Asp.net Application using c#

If you want to add twitter follow button to your application in Asp.net
Then just do it.............

Add the given code in content place holder section where you want to add twitter button.


 <a href="https://twitter.com/twitterapi" class="twitter-follow-button" data-show-count="true">Follow @twitterapi</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> 


this code taken from twitter developer page. if you want to extra help then go to twitter developer page.

No comments:

Post a Comment