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
精彩评论