Question:

I am writing an iFrame Canvas App. What should I use in the action link of an HTML form?

Should the action link be a URL pointing to apps.facebook.com, as something like

<form ... .. action="http://apps.facebook.com/myapppath/form_proc.php">..... </form>

or it should be a URL pointing to my own domain, as something like

<form ... .. action="http://www.mydomain.com/myapppath/form_proc.php">..... </form>

?

 

Sharing:

Appreciate if you can like this page if you find it useful! - Click "Like"

To my understanding, the form action should be pointing to your own domain.

In fact, not having the request routed through Facebook's server is one of the reason why iFrame applications usually get better performance than FMBL canvas applications.

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!