Thursday 4 April 2013

Better Way To Integrate Facebook Like Button In You Asp.net Website


Better Way To Integrate Facebook Like Button In You Asp.net Website In this article i will show you how you can integrate the facebook like button in your asp.net or mvc3 application. 

So for this go to your login to your
 facebook account not in footer select developer.

facebook

Now click on developer link. In opened window select the web option.

facebook


Now in the open window select the
 Likebutton

facebook

Now a from will open in this enter the details and click on get code button to get the api code.

facebook

In code window select the i frame

facebook

Now copy the code and past it to your application.
  <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.dotnetpools.com%2F&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;font&amp;colorscheme=light&amp;action=like&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>


Your like button will looks as shown below.


facebook

No comments:

Post a Comment