Social Media Support Center
Would you like to react to this message? Create an account in a few clicks or log in to continue.

sharing my website on facebook

3 posters

Go down

sharing my website on facebook Empty sharing my website on facebook

Post by bbrynjarsdóttir Wed Nov 24, 2010 2:12 pm

Hello I'm trying to share my website on facebook, I'm using asp.net and masterpages.

I've put a text in the meta tag but it doesn't appear on facebook

What appears is the text that is originally put in the meta tag, but I want to be able to change the metatag for every page but that isn't working.

The url of the website is [You must be registered and logged in to see this link.]

This is a test site and has only one button, the share button
bbrynjarsdóttir
bbrynjarsdóttir
New Member



Back to top Go down

sharing my website on facebook Empty Re: sharing my website on facebook

Post by Admin Wed Nov 24, 2010 2:23 pm

What appears is the text that is originally put in the meta tag, but I want to be able to change the metatag for every page but that isn't working.

You mean this tag?

Code:
<meta property="og:description" content="Lots of text."/>

I don't get your question..
avatar
Admin
Ultimate SN Fan



Back to top Go down

sharing my website on facebook Empty Re: sharing my website on facebook

Post by bbrynjarsdóttir Wed Nov 24, 2010 7:06 pm

I'll try to explain myself better

In the master page of my website I have these metatags:
Code:
<meta  name="metaTitle" content="This is the Title" id="metaTitle" runat="server" />
    <meta name="description" content="This is a short summary of the page."  id="description" runat="server"/>

I have a content page where I want to change the content into something descriptive for the page like this:
Code:
((HtmlMeta)Master.FindControl("metaTitle")).Content = "Titill test";
        ((HtmlMeta)Master.FindControl("description")).Content = "lýsing test";

This works perfectly in my website, but facebook doesn't take notice of the changes and keeps displaying the old contents, that is from the master page

Actually I have another example where facebook continue to display static text which I have commented out days ago.

Hope you understand my problem better now


Last edited by The Listener on Thu Nov 25, 2010 3:20 pm; edited 1 time in total (Reason for editing : Added code tags)
bbrynjarsdóttir
bbrynjarsdóttir
New Member



Back to top Go down

sharing my website on facebook Empty Re: sharing my website on facebook

Post by bbrynjarsdóttir Wed Nov 24, 2010 7:50 pm

The url I sent you was a test page which I created because I couldn't get this to work

My real page is [You must be registered and logged in to see this link.]

it has the same problem
bbrynjarsdóttir
bbrynjarsdóttir
New Member



Back to top Go down

sharing my website on facebook Empty Re: sharing my website on facebook

Post by Ruby Fri Dec 03, 2010 1:59 pm

Moved from Other to AR

Hello!

There have been no replies to your topic for over a week. Do you still need help with it? In order to keep the Help section fresh, we need to know if your problem was solved, or if you still need help with it. If you don't reply within the next 3 days, we'll assume your issue was solved, and this thread will be Moved to the Solved section without further notice .

Thanks!

avatar
Ruby
Ultimate SN Fan



Back to top Go down

sharing my website on facebook Empty Re: sharing my website on facebook

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum