I'm using the Facebook like button, and while my like'd URL shows up correctly on the site and is clickable, the site URL after the 'on' isn't clickable.
Example on Facebook: (bold is clickable)
Philip likes Fun & Fresh: Cafe Gitane on www.example.com. · Comment · Like
However, the 'example.com' is supposed to be clickable as well. I have seen other sites (like theonion.com) do it. How can I do it?
Here are my meta tags:
<meta property="og:title" content="<?=$title?>"/>
<meta property="og:type" content="article"/>
<meta property="og:site_name" content="www.example.com"/>
<meta property="og:image" content="http://www.example.com/images/example-bw.jpg"/>
<meta property="fb:admins" content="example"/>
<?
if ($_GET[fb]=="g" ){echo"<meta property=\"og:url\" content=\"www.example.com%2Fgoingout.php%3Ffid%3D$fid&fb=g\"/>";
?>
The URL linter is getting all of the information above. However it's not displaying a 'site URL' property.
I have tried writing the og:site name as http://www, www,
, whatever. Nothing makes it clickable.
Here's a weird twist: if I enter the og:site_name as example.com then the og:site name displays like that (it shows up on Facebook with visible <a></a>
tags around it), but it's clickable AND there's a separate property shown in the linter as 'site URL' which doesn't otherwise display. I'm confused.