我知道这是一个常见问题,但我还没有找到任何答案。我点击按钮,但没有任何反应。我一直在使用棉绒,并有所有og标签。“赞”按钮无效,(iframe)版本
这里是我的代码(直接从像按钮创建者)和网站:
<iframe src="//www.facebook.com/plugins/like.php?href&send=false&layout=button_count&width=450&show_faces=true&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
http://alexcieminski.com/index.html
谢谢。
谢谢DMCS!你能否详细解释?href和?我是业余爱好者,不太明白这一点。 谢谢。 – 2012-04-11 04:40:31
href是你想要被喜欢的URL。最简单的做法是返回到Facebook Like插件页面并重新生成构建iframe代码的代码(确保指定了url,以便将它添加进去) – DMCS 2012-04-12 18:12:49