Home > Asp.net > Facebook Share Functionality with Asp.net Website

Facebook Share Functionality with Asp.net Website


You can use below code to add facebook share functionality to your asp.net website:

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title></title>

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

<meta content="This is the Title" />

<meta content="This is a short summary of the page." />

<link rel="image_src" href="http://www.murrayhilltech.com/images/LogoColorNoText.jpg" />

</head>

<body>

<form runat="server">

<div>

<a href="http://www.facebook.com/sharer.php">Share</a>

</div>

</form>

</body>

</html>

You can visit the detail article at:

http://bit.ly/75JXwb

<html xmlns=”http://www.w3.org/1999/xhtml&#8221; >

<head runat=”server”>

<title></title>

<script src=”http://static.ak.fbcdn.net/connect.php/js/FB.Share&#8221; type=”text/javascript”></script>

<meta name=”title” content=”This is the Title” />

<meta name=”description” content=”This is a short summary of the page.” />

<link rel=”image_src” href=”http://www.murrayhilltech.com/images/LogoColorNoText.jpg&#8221; />

</head>

<body>

<form id=”form1″ runat=”server”>

<div>

<a name=”fb_share” type=”button” href=”http://www.facebook.com/sharer.php”>Share</a&gt;

</div>

</form>

</body>

</html>

Advertisements
  1. August 22, 2011 at 6:00 am

    hello i am fine , this is good artical

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: