Question

I use the request form for a invite form. But when I send a request to friends the fanpage tab will be blank and the form disappears.

When I delete the "action" entry it works but I will use the action link to add a variable to the Link. Is this possible like this? action="https://apps.facebook.com/myapp/index.php?invite=1"

My code.

<!-- Invite Formular -->
<div id="fb-root"></div>
<script type="text/javascript" src="http://connect.facebook.net/de_DE/all.js"></script>
<script type="text/javascript">FB.init({appId: 'myappid', status : true, cookie : true, xfbml  : true});</script>

<div id="dialogInviteFriends" style="overflow:hidden; margin-left: -10px;">
<fb:serverfbml  width="520px">
<script type="text/fbml">
<fb:fbml>
<fb:request-form target="_self" method="POST" invite="true" type="Partymaus Salzburg" action="https://apps.facebook.com/myapp/index.php?invite=1" label="Schau jetzt vorbei"
content="Ich hab hier eine super Fanpage gefunden, die musst du dir anschauen.">
<fb:multi-friend-selector actiontext="Sags deinen Freunden" showborder="false"     rows="5" cols="3" import_external_friends = "false">

</fb:request-form>
</fb:fbml>
</script>
</fb:serverFbml>
</div>

<!-- Ende Invite Formular -->

Any Help for this problem?

Was it helpful?

Solution

I'm sorry to inform you, FBML is being deprecated. You should change over to using Javascript API's Requests Dialog instead (https://developers.facebook.com/docs/reference/dialogs/requests/)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top