添加类似facebook的按钮将创建新页面。可以合并/修复吗?
我为我的公司创建了一个facebook页面,并邀请我的朋友喜欢它。赢 现在我想在我公司的外部网站上添加一个like按钮添加类似facebook的按钮将创建新页面。可以合并/修复吗?,facebook,facebook-like,facebook-opengraph,facebook-page,Facebook,Facebook Like,Facebook Opengraph,Facebook Page,我为我的公司创建了一个facebook页面,并邀请我的朋友喜欢它。赢 现在我想在我公司的外部网站上添加一个like按钮 我为我的公司“以页面登录” 然后我点击了营销标签>添加一个like按钮 使用Iframe创建代码 然而,当我将代码粘贴到我的网站上时,喜欢的东西(以及我所有的努力工作)就会重新开始。它还在facebook上创建了一个全新的页面。。。啊 很明显,我可以在新创建的FB页面上重新创建我的页面,并重新邀请我的所有朋友,但这会浪费数周的工作,并且会让我已经伪朋友感到烦恼。在我这么做之
- 我为我的公司“以页面登录”
- 然后我点击了营销标签>添加一个like按钮
- 使用Iframe创建代码
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.mywebsite.com&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
打开图形
<meta property="og:title" content="my title" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.mywebsite.com" />
<meta property="og:image" content="http://www.mywebsite.com/image.png" />
<meta property="og:site_name" content="site name" />
<meta property="fb:app_id" content="xxxxxxxxx" />
您可以将
href
属性更改为已创建的页面。您不能在自己的主页上使用og标签,但会使用Facebook页面属性 所以改变
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.mywebsite.com&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
到
该联系人喜欢我的facebook页面,但出于SEO原因,我更喜欢将这些喜欢与我的外部网站关联。这有可能吗?我不这么认为。谢谢你的回答。这是我在同一问题上寻找的答案。但什么是“用转义斜杠等等”?你能给我看看吗?@Clint,你必须避开斜杠,这样它才不会干扰真正的URI。例如/=>%2F
或:=>%3A
等。
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2F*your facebook page (with escaped slashes and so on)*&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>