[英]Facebook like button?
For the last few days i've had an issue with the like button it's no longer working? 在过去的几天里,我一直无法使用“赞”按钮? I've been told it's due to fb:app_id is now required (so looks like i gotta edit over 17,000 pages to add this tag!) so i tried it on just one page however it still doesn't appear?
有人告诉我这是由于fb:app_id是必需的(所以我好像必须编辑17,000多页才能添加此标签!),所以我只在一页上尝试了它,但是它仍然没有出现?
It has also now stopped the Tweet button appearing yet twitter is nothing to do with the iframe like button? 现在它也停止了Tweet按钮的出现,但是twitter与iframe之类的按钮无关吗?
The page is this: link - please let me know if i'm missing something here.. 页面是这样的: 链接 -如果我在这里缺少什么,请告诉我。
It's kinda annoying if i have to use fb:app_id aswell now as i got over 17,000 pages that i'll need to edit to add the fb:app_id tag. 如果我现在必须同时使用fb:app_id,这有点烦人,因为我有超过17,000个页面需要编辑以添加fb:app_id标签。
Also my other site doesn't have an app or a page so how would i use fb:app_id on that? 另外,我的其他站点没有应用程序或页面,因此该如何使用fb:app_id? I was using fb:admin before...
我之前使用过fb:admin ...
On the page you link to, your FB:Like button code is commented out with <!-- -->
so of course it won't appear. 在您链接到的页面上,您的FB:Like按钮代码用
<!-- -->
注释掉,因此它当然不会出现。
Also, you have two <div id="fb-root">
's on your page and this will cause errors. 另外,页面上有两个
<div id="fb-root">
,这将导致错误。 You need to make sure there is only one of those divs. 您需要确保这些div中只有一个。
Thanks everyone above for your help i just remembered what a silly person i was and i remember i put this in my css file: 谢谢上面的每个人的帮助,我只记得我是一个愚蠢的人,并且记得我将其放在我的css文件中:
iframe {
display: none;
}
so that's why it wasn't working, my bad! 所以这就是为什么它不起作用的原因,我不好! thanks everyone above anyway.
无论如何,还是谢谢大家。 (how can i close this as resolved?)
(如何解决此问题?)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.