Tuesday, 27 January 2015

How to add Facebook Social Plugins in your website

Social Plugins 


  1. facebook LikeBox in asp.net website



The Like Box is a special version of the Like Box designed only for Facebook Pages. It allows admins to promote their Pages and embed a simple feed of content from a Page into other sites.


  • image like this after add the code in your asp.net page.




  • Code for facebook like box.
  • add code in <Div>   code here </Div> space in asp.net page which you wan't show.


<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FFacebookDevelopers&amp;width&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:290px;" allowTransparency="true"></iframe>



      2.  facebook LikeButton in asp.net website

The Like button is the quickest way for people to share content with their friends.
A single click on the Like button will 'like' pieces of content on the web and share them on Facebook. You can also display a Share button next to the Like button to let people add a personal message and customize who they share with.
  • image like this after add the code in your asp.net page.







  • Code for facebook like button.
  • add code in <Div>   code here </Div> space in asp.net page which you wan't show.


<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=true&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:80px;" allowTransparency="true"></iframe>



 3.  facebook Follow Button in asp.net website

The Follow button lets people subscribe to the public updates of others on Facebook. 
  • image like this after add the code in your asp.net page.








  • Code for facebook like button.
  • add code in <Div>   code here </Div> space in asp.net page which you wan't show.

<iframe src="//www.facebook.com/plugins/follow.php?href=https%3A%2F%2Fwww.facebook.com%2Fzuck&amp;width&amp;height=80&amp;colorscheme=light&amp;layout=standard&amp;show_faces=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:80px;" allowTransparency="true"></iframe>




No comments:

Post a Comment

Working with 3- Tier Architecture in C#

  Introduction In this article we will learn Use to 3- Tier architecture in C#.NET application. 3-Tier architecture is very famous and ...