Facebook Fan-Box / Likebox 身高问题直播
我想在我的网站上整合 FB Fan-Box。一切正常,除了高度不正确。对我来说,重要的不是显示面孔,而是显示流。当我调整高度参数时,整个框架变大,但其中包含流的图层仍保持 300px。我如何将其设置为 900px,因为我希望我的访问者在流中看到更多活动?!
这是我的代码:
<iframe
src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F
%2Fwww.facebook.com%2Fapps%2Fapplication.php%3Fid%3D200876329955648&width=800&
amp;colorscheme=light&show_faces=false&border_color&stream=true&
amp;header=false&height=900"
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden; width:800px; height:900px;"
allowTransparency="true"></iframe>
感谢您的帮助!!!!
I would like to integrate FB Fan-Box on my website. Everything works fine, except the height is not correct. For me, the important thing is not displaying the faces, but the stream. When I adjust the height parameter the whole frame gets bigger, but the layer with the stream in it remains still 300px. How can I set this to 900px, since I would like my visitors to see more activities on the stream?!
Here is my code:
<iframe
src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F
%2Fwww.facebook.com%2Fapps%2Fapplication.php%3Fid%3D200876329955648&width=800&
amp;colorscheme=light&show_faces=false&border_color&stream=true&
amp;header=false&height=900"
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden; width:800px; height:900px;"
allowTransparency="true"></iframe>
Thanks for the help!!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试 HTML5 版本,它可能会工作得更好:
我已经验证它将达到 900 高度,显示更多流项目。
Try the HTML5 version, it may work better:
I've verified that it will go to 900 in height showing more stream items.
不,这不是针对我的 2000px
Facebook 的 HTML 5 标签正确生成 iframe 高度,而是在 iframe 内部
它明确地将 div 设置为 300px...这是一个非常烦人的错误,
如果 FB 端默认为 300px,那么配置它有什么意义呢?
No it is not for my HTML 5 tag with 2000px
Facebook generate iframe height correctly, but inside the iframe
it explicitly set div to 300px... This is a very annoying bug
What is a point of having it configurable if it is defaulted to 300px on FB side?