Click here to Skip to main content
11,702,168 members (63,147 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.2K
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 Maciej Los 395
1 Sergey Alexandrovich Kryukov 355
2 OriginalGriff 314
3 CHill60 145
4 Mika Wendelius 119
0 OriginalGriff 8,344
1 Sergey Alexandrovich Kryukov 7,507
2 CPallini 4,922
3 Maciej Los 4,371
4 Mika Wendelius 3,556

Advertise | Privacy | Mobile
Web04 | 2.8.150819.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