0
我在我的网站上添加了Facebook“赞”和“分享”按钮。当我点击“分享”时,我会收到通常的弹出消息提示。然而,在预填充内容下方区域,它只是说Facebook分享按钮只显示www.example.com
www.example.com
www.myurl.com
我添加以下内容,它并没有帮助:
<meta property="og:type" content="website" />
<meta property="og:title" content="Hello" />
<meta property="og:site_title" content="website" />
<meta property="og:description" content="Sample text"/>
<meta property="og:utl" content="www.mysite.com"/>
我一直有和没有尝试过JS SDK。我也尝试了iFrame选项。
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.mysite.com&width&layout=button_count&action=like&show_faces=true&share=true&height=21&appId=1111111111" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe>
我在做什么错?为什么说明字段中的“example.com”?
Facebook的调试工具(https://developers.facebook.com/tools/debug/)会为您分享的URL选择什么? – Igy 2014-10-16 23:23:24
它显示了同样的事情。它还说'og:title \t www.example.com',这是不正确的。当我查看我的网站的来源时,它是'' – 2014-10-16 23:31:01