Click here to Skip to main content
11,798,046 members (77,523 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET C#4.0 blog
I have created website to display BLOGS. I want to share the blog stories over Facebook and other social networking site like twitter, Gmail etc. When I click on Facebook Icon to share. A Facebook popup appears.

I want to display my Blog Story Title, a Description and an image But this popup only display my webpage URL.

I have been searching over the internet from last couple of hours and I couldn't find the solution till now.

I have pasted the html code on my .aspx page. I got this html code from[^]

<!-- AddThis Button BEGIN -->
<a class="addthis_button" href=";pubid=xa-4e7497424a0cf7de"><img src="" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
<script type="text/javascript" src=""></script>
<!-- AddThis Button END -->

My ASP.Net webpage Head section is as follows:

<head runat="server">
<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="" />

Please help me how to set the Title, Description and image for the story to share on Facebook.

Thanks in advance.
Posted 17-Sep-11 3:38am
Edited 18-Sep-11 18:09pm
(no name)141.3K
Prerak Patel at 19-Sep-11 0:10am
Corrected code blocks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 575
1 Maciej Los 375
2 OriginalGriff 353
3 Abhinav S 342
4 Richard MacCutchan 218
0 OriginalGriff 2,150
1 Maciej Los 1,790
2 KrunalRohit 1,456
3 CPallini 1,415
4 Richard MacCutchan 1,016

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 19 Sep 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100