1

我有一个网站,并且添加了带有javascript sdk.

这是代码

<div id="fb-root"></div>
    <script>(function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>

这是html代码

<div class="fb-like" data-href="WEBSITE URL" data-send="true"  data-width="450"data-show-faces="false" data-action="like"> </div>

我还在og: meta头部添加了

<meta property="og:description" content=" the description of my website" />
<meta property="og:title" content="title" />
<meta property="og:url" content="url"/>
<meta property="og:image" content="pic" />
<meta property="og:type" content="website"/>
<meta property="fb:admins" content="facebook id"/>

问题是这样的:

当我点击我网站上的点赞按钮时,我可以看到所有信息(姓名、图片、描述),但是当我转到 facebook 个人资料时,描述被替换为:

Link
Link
Link
Link

我不明白问题出在哪里。有人可以帮助我吗?

4

1 回答 1

-1

我有同样的问题!

我有评论插件和喜欢框。

如果用户没有写任何评论,请在类似框中将其发布到用户活动提要上。但是如果用户写了一些内容,它会在时间轴上加上 4 行“喜欢”:

LinkLinkLinkLink

但是在将鼠标悬停在标题上时,它会显示一个带有正确预览的弹出窗口。

<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it-it" lang="it-it">
<meta property="og:title" content="Il menù dei cuscini"/>
<meta property="og:url" content="http://www.cibbuzz.com/comunicati-stampa/fashion-e-intrattenimento/il-menu-dei-cuscini"/>
<meta property="og:description" content="Dopo i vini e gli oli, negli alberghi arriva la carta dei cuscini Si diffonde negli alberghi di qualità il “menù dei cuscini”, una lista dove..."/>
<meta property="og:type" content="article" />
<meta property="og:image" content="http://www.cibbuzz.com/images/loghi/logo-cibbuzz-portfolio.jpg" />
<meta property="og:site_name" content="Cibbuzz" />
<meta property="fb:app_id" content="130008293680636" />
<meta property="fb:admins" content="1051936195" />

<div id="fb-root"></div>

<div class="fb-like" data-send="false" data-width="100" data-layout="button_count" data-show-faces="true" data-href="http://www.cibbuzz.com/comunicati-stampa/fashion-e-intrattenimento/il-menu-dei-cuscini" data-force_wall="true"></div>


<script type="text/javascript">
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=130008293680636";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

这来自 Lint Tool :

Scrape Information

Response Code:  200
Fetched URL:    http://www.cibbuzz.com/comunicati-stampa/fashion-e-intrattenimento/il-menu-dei-cuscini
URL canonico:   http://www.cibbuzz.com/comunicati-stampa/fashion-e-intrattenimento/il-menu-dei-cuscini
Proprietà Oggetto

fb:admins:  Array of length 1
⍾ 1051936195
fb:app_id:  130008293680636
og:url: http://www.cibbuzz.com/comunicati-stampa/fashion-e-intrattenimento/il-menu-dei-cuscini
og:type:    article
og:title:   Il menù dei cuscini
og:image:   
og:description: Dopo i vini e gli oli, negli alberghi arriva la carta dei cuscini Si diffonde negli alberghi di qualità il “menù dei cuscini”, una lista dove...
og:site_name:   Cibbuzz
og:updated_time:    1359667404
于 2013-01-31T21:22:50.600 回答