How to show FaceBook Like Button in ASP.Net Website

Last Reply on May 21, 2013 10:55 PM By Mudassar

Posted on May 21, 2013 09:50 PM


i have made a web form in whcih i want to show pop up of social networking sited if user click on that particular icon it should like that page in facebook

i have used this code

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_floating_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_linkedin"></a>
<script type="text/javascript" src="//"></script>
<!-- AddThis Button END -->

but when i run the  web page on clicking on that icon it goes to facebook and share this link



Posted on May 21, 2013 10:55 PM

You need to use a different Add this button. That has Like button

Also if user is not logged in he will be sent to FaceBook first