Ok, I solved the problem. My mistake was a bad editing place for one modification in functions.php file.
Now I have a question about opengraph tags..
I am logged in on my board. Without logging in, there is no possibility to see any thread posts. That's my configuration. I have problem only with two tags:
Code: Select all
<meta property="og:title" content="{PAGE_TITLE}" />
<meta property="og:description" content="{SITE_DESCRIPTION}" />
{PAGE_TITLE} - should show the title of the page - unfortunately, it doesn't. Why is that ? Instead of this I see "Log in" when I use Facebook debugger (
http://developers.facebook.com/tools/debug). This is for testing fb tags. It's weird, because even if I'm not logged in, I can see the thread name in the title bar of my browser.
I added my opengraph tags to my overall_header.html file.
There are also a <title> tags, which look like this:
Code: Select all
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
So it looks good, there is a {PAGE_TITLE} text, so it should work good - it seems there is the same part, but it's parsed or something.. so with the title tag it works great - with my opengraph, it's not.
Anyway, I would like to have here (in the opengraph <title> tag) my topic title, cause when somebody clicks on facebook link, should see earlier what the topic name is.
Im wondering where is the problem..
---
The second line of the tag with description - I need to put there for example first post description or if the link is a direct link to the post (is there a possibility after clicking on Like Button ?), the "liked" post description.
If anyone could help me or suggest sth, give advice... whatever.. I'd appreciate it. Thanks in advance...
PS.sorry for my english..