tags:

views:

547

answers:

3

Hi all,

I am not sure, I am using a pretty standard piece of code for facebook. It sends requests for people regarding my application. All of a sudden I am receiving this error:

serverfbml form action must be within the application's connect url

Have you been having problems with using either one of these:

  • fb:serverFbml
  • fb:request-form
  • fb:req-choice
  • fb:multi-friend-selector

thank you!

+1  A: 

Hi vondip,

I don't know if you managed to find a solution yet, but I will tell you what my solution is. The action attribute of your forms should NOT be relative URLs, that is you should give the full URL of the website where the application is hosted: fb:editor action="http://www.mydomain.com/myapp/index.php?params=1" labelwidth="100"

Benny
A: 

This is not the solution. If you do this, when user clicks "skip" on the dialog, he would be send to http://www.mydomain.com/myapp/index.php?params=1" instead of your application. The solution is: action="http://apps.facebook.com/myapp/" -> this "/" at the end would help. It could be also any other action inside your app for example: action="http://apps.facebook.com/myapp/sendRequest"

Iwona Trąbka

related questions