tags:

views:

235

answers:

1

The fbml below generates an invite form using a multi-friend-selector. Everything works, except the Skip button. No matter what url I place in the action attribute, the action in the rendered form is always blank. This of course causes the Skip button to 404.

<div class="invite"> 
    <fb:serverFbml width="626">
        <script type="text/fbml">
            <fb:request-form
                action="default.asp"
                target="_top"
                method="POST" 
                invite="true" 
                type="My Application" 
                content="<fb:req-choice url='facebook.com/somepage' label='Authorize my Application'/>">
                <fb:multi-friend-selector showborder="true" email_invite="false" cols="4" rows="1" actiontext="Invite your friends to use My Application!">
                </fb:multi-friend-selector>
            </fb:request-form>
        </script>
    </fb:serverFbml>
</div>

Edit: On closer inspection, it looks like the 404 it goes to is http://www.facebook.com/plugins/serverfbml.php?. Found this as the only 404 response when tracking in Fiddler.

A: 

I had the same issue!!!

The fix was the following in my case:

action="http://YOURDOMAINNAME/APP/welcome.htm?${query_string}"

YOURDOMAINNAME must be the same as in your Canvas URL!

Slava

related questions