2010-05-20 113 views
0

我遇到了一些与新的Facebook喜欢按钮有关的问题。它显示正常,但由于某种原因,它不会拉动页面的标题。Facebook喜欢不拉标题

我有和我使用og:标题,所有填充,当我查看在他的按钮的负载上创建的iframe的源,在那里是空白的。我也试图把tweetmeme,这是看到的标题,而不是元,或正常的页面标题。

我在做什么错?

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/"> 

<fb:like href="<?=$url?>" layout="button_count" show_faces="false" width="100" font="arial"></fb:like> 

UPDATE:整个头部

<head> 


<title>Ladder 15 Gets A New Menu!</title> 
<meta content="Growing up can be hard to do, especially in the Mad River family. But Ladder 15 has come into its own over the winter.&nbsp; With some new cocktails, wine selection, a hefty new beer list and veteran Chef David Ansill in the kitchen, you can check your fist pump at" name="Description"> 
<meta content="" name="Keywords"> 
<meta content="cities2night inc." name="author"> 
<meta content="Cities2Night 2010" name="copyright"> 
<meta content="en-us" name="language"> 
<meta content="General" name="rating"> 
<meta content="index,follow" name="robots"> 
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> 
<meta content="Ladder 15 gets a new menu!" name="tweetmeme-title"> 
<meta content="Ladder 15 gets a new menu!" property="og:title"> 
<meta content="article" property="og:type"> 
<meta content="http://philly.cities2night.com/articles/show/listing/11/ladder-15-gets-a-new-menu" property="og:url"> 
<meta content="http://philly.cities2night.com/public/article_images/11.jpg" property="og:image"> 
<meta content="c0176da0ec38aaf107c0ef6c8cdeee38" property="fb:app_id"> 
<meta content="Philly2night.com" property="og:site_name"> 
<meta content="Growing up can be hard to do, especially in the Mad River family. But Ladder" property="og:description"></head> 
+0

我没有看到任何地方在你的代码标题应该是... – EAMann 2010-05-20 19:00:45

+0

我已经复制了源代码。 – matthewb 2010-05-20 19:06:22

回答

1

您使用的是开发URL? This是我在访问由您的“og:url”指定的链接时看到的页面,其标题为“Philly2night.com的文章”,并且没有指定打开的图形元数据。我想这可能是一个问题,因为Facebook可能会试图从可用的URL中获取信息。

此外,对于有相当数量的“喜欢”的已经你列出的页面,你可能会遇到这样的问题:

您可以通过更新您的网页 标签更新 页面的属性。需要注意的是OG:标题和OG:类型 只可编辑的开始 - 后的页面将获得10个喜好,这些 性质变成固定,以避免 谁已经喜欢 页惊人的用户以及更改标题 或类型的标签会导致您的页面 丢失任何现有的喜欢。

来自FB Open Graph Protocol explanation

+0

我正在使用一个开发网站,现在我把它硬编码为1个网址,似乎仍然拉错了标题,它会影响twitter,因为它的最后一个标题标签是可见的。 – matthewb 2010-05-20 19:49:12

+0

http://philadelphia.cities2night.com/articles/show/article/11/get-down-and-dirty-with-the-burger-15 这是一个示例URL,我看到所有的og数据,并且标题是正确的,但如果你喜欢它,它仍然会说“Philly2night.com的文章”这是令人沮丧的。 – matthewb 2010-05-20 19:54:17

+0

缓存可能是一个问题。它现在在FB上正确地共享链接(带有标题)(因为它不是早期版本),所以也许很快就会出现“like”功能。 – Andrew 2010-05-20 20:06:36