开发者

Facebook multi-friend-selector gets cut off in 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 t开发者_开发问答he right hand side. The app is an iframe-based canvas app.

Any ideas?


You can specify a width attribute on the <fb:serverfbml> tag to make it wide enough:

<fb:serverfbml width="615">
  <script type="text/fbml">
    <fb:request-form ...></fb:request-form>
  </script>
</fb:serverfbml>

Example: http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector

EDIT: Made it more of an answer.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜