Click here to Skip to main content
11,926,805 members (54,620 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET C#4.0
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 4:38am
Edited 18-Sep-11 19:09pm
Prerak Patel141.4K
Prerak Patel 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.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