Facebook does not read my meta title tag in sharer.php
I am trying to share a link using sharer.php on facebook.I have used the code
<a style="cursor: pointer;" target="_blank" title="
<?php echo ucfirst($this->headline); ?>"
href="http://www.facebook.com/sharer.php?u=<?php echo $url ?>" >
$url
is urlencoded here.
i have used the og meta tags as follows:
<meta property="og:title" content="Test" />
<meta property="og:type" content="company" />
<meta property="og:url" content="http://75.125.190.162:7113/index.php?option开发者_如何学运维=com_realtyna&view=propertyshow&building_name=&category=FLAT&country=&state=Ariana&city=Ariana+Ville&zone=&listing_type=&bedroom=Three+bedrooms&pid=180&Itemid=3&lang=en" />
<meta property="og:image" content="http://75.125.190.162:7113/components/com_realtyna/uploads/180/180_main_iHq29q.jpg" />
<meta property="og:site_name" content="Test" />
<meta property="fb:admins" content="100000626812232" />
The problem is that on sharing it on facebook it doesnt shows the title which i specified here.It seems to pick the title of the page but changing it also doesnt helps.I cant figure out from where it is picking up the title. Help Anyone. Url to the page is :
http://75.125.190.162:7113/index.php?option=com_realtyna&view=propertyshow&building_name=&category=FLAT&country=&state=Ariana&city=Ariana+Ville&zone=&listing_type=&bedroom=Three+bedrooms&pid=180&Itemid=3&lang=en
Just put multiple og:image tags and it will give the user an option to choose which photo they want to use.
<meta property="og:image" content="http://75.125.190.162:7113/components/com_realtyna/uploads/180/180_main_iHq29q.jpg" />
<meta property="og:image" content="http://75.125.190.162:7113/components/com_realtyna/uploads/180/180_main_47Lcge.jpg" />
Source: https://developers.facebook.com/docs/opengraph/
精彩评论