Solved

sharing news on facebook  metatag

Posted on 2010-11-17
3
513 Views
Last Modified: 2012-05-10
Hello I'm having problems with sharing my news page on facebook.  I'm using asp.net and master pages.  When the user wants to share some news on facebook,  the metatag of the master page appears on facebook instead of the news itself.  I'm not sure how to display the content of news instead of the metatag.

the news are kept in an access-database.

What I've done is to define the metatag in the page_load of the newspage like this:


                HtmlMeta tag2 = new HtmlMeta();
                tag2.Name = "description";
                tag2.Content = "Description of page";
                 Page.Header.Controls.Add(tag2);


So now I can change the description of the page,  but I really want is to get the content of the news to my facebook like the news that I took from BBC and you can see in the  picture.

BN copy of a news on facebook


When I try to share my website I only get the list of the metatag keyword.


hope someone can help me

0
Comment
Question by:bjorkn
3 Comments
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
ID: 34186227
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 34440997
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question