Addthis Facebook的描述和标题 [英] Addthis Facebook description and title
问题描述
< div class =addthis_toolbox addthis_default_style addthis_32x32_style我已经添加了一个Addthis脚本到我的Facebook页面选项卡
addthis:title =MY TITLE
addthis:description =MY TITLE>
< a class =addthis_button_preferred_1>< / a>
< a class =addthis_button_preferred_2>< / a>
< a class =addthis_button_compact>< / a>
< a class =addthis_counter addthis_bubble_style>< / a>
< / div>
< script type =text / javascriptsrc =http://s7.addthis.com/js/250/addthis_widget.js#pubid=XXXX> < /脚本>
我还在我的Facebook标签页中添加了正确的标题和描述, ,我没有得到正确的标题和说明。相反,我从Facebook主页获取默认值。
正如Paul在第二个答案中指出的那样此线程,facebook共享链接addThis不能使用正常的addThis参数。
您必须添加所需的Facebook元标记:
< meta property =og:titlecontent = 你的标题在这里/>
< meta property =og:descriptioncontent =your description here/>
到您的页面。
您可以在facebook开放图表文档中找到更多标签
http://开发人员.facebook.com / docs / opengraph /
I've added a Addthis script to my Facebook page tab;
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"
addthis:title="MY TITLE"
addthis:description="MY TITLE">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=XXXX"> </script>
I've also added the correct Title and description to the Page in my Facebook Tab but when I share, I don't get the correct Title and Description. Instead I get the default from my Facebook homepage?
As Paul points out in the second answer of this thread, facebook share links of addThis don´t work with the normal addThis parameters. You have to add the required facebook meta tags:
<meta property="og:title" content="Your title here" />
<meta property="og:description" content="your description here" />
to your page. You can find further tags at the facebook open graph documentation http://developers.facebook.com/docs/opengraph/
这篇关于Addthis Facebook的描述和标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!