Facebook 多好友选择器在 iframe 中被切断
我一直在开发 Facebook 应用程序,唯一仍然困扰我的是好友请求。
当我使用 fb:multi-friend-selector 代码时,确认弹出窗口被右侧的 iframe 截断。该应用程序是一个基于 iframe 的画布应用程序。
有什么想法吗?
I've been working on a Facebook app and the only thing that's still bogging me down is the friend requests.
When I use the fb:multi-friend-selector code, the confirmation pop-up gets cut off by the iframe on the right hand side. The app is an iframe-based canvas app.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以在
标记上指定 width 属性,使其足够宽:示例:http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector
编辑:成功更多的是一个答案。
You can specify a width attribute on the
<fb:serverfbml>
tag to make it wide enough:Example: http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector
EDIT: Made it more of an answer.
如果我没记错的话,这其实是Facebook本身的问题。
iFrame 应该随内容动态调整大小,但仅在加载时动态调整内容大小,而不是在内容更改时动态调整大小。
If I recall correctly, that is actually a problem with Facebook itself.
Where the iFrame should be Dynamically resizing with the content but only dynamically resizes to the content on load rather than when the content changes.
也有这个问题。在此示例中,他们不仅让弹出窗口显示在所有内容之上,而且选择器本身甚至不在 iframe 中。他们是怎么做的?
http://apps.facebook.com/sharethejoy/invite.php
Also having a problem with this. In this example, not only are they getting the popup to display over top everything, but the selector itself is not even in an iframe. How are they doing this?
http://apps.facebook.com/sharethejoy/invite.php