Click here to Skip to main content
Rate this: bad
good
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 https://www.addthis.com/get-addthis#.TnSXPuyqKuI[^]
 
<!-- AddThis Button BEGIN -->
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-4e7497424a0cf7de"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4e7497424a0cf7de"></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="http://www.murrayhilltech.com/images/LogoColorNoText.jpg" />
 
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
Jass22610
Edited 18-Sep-11 19:09pm
(no name)140.5K
v2
Comments
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)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 19 Sep 2011
Copyright © CodeProject, 1999-2014
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