You need a publicly accessible IP that Facebook's servers can hit to load the contents of your canvas page. (127.0.0.1 is a special loopback address that is only valid on your computer.)
I suggest using a service like DynDNS to register a host name like myapp.homeip.net and then use their tools to automatically update DNS records with your current IP as it changes (assuming you don't have a static, public IP for your dev machine). Then update your Facebook app settings to point to this host name. If you are behind a firewall/NAT you will need to make a hole in that and/or configure port forwarding. When you start your local server you will need to bind it to your LAN address instead of loopback. Eg. "-a 192.168.1.1" I have also found it useful to create two separate Facebook apps. One for testing where it points to your dev machine and one for production that points to Google. -Chris On Tue, Nov 23, 2010 at 11:09 AM, nacho <vela.igna...@gmail.com> wrote: > This is more a facebook apps question, but i would like if some gae > developers have experience doing this. > > I need to develop a Facebook app, and i want to do my back in gae and > my front in gwt. Easy task. > > My question is this: how can i locally test my fb app? > > My app must run on Facebook app's canvas (ie: iframe). So i created a > new app, put a app_id and in the canvas url the following: > http://127.0.0.1/MyApp.html > > But when i go to apps.facebook.com/myapp i get a blank page. I think > that i can't test locally, so i have to deploy to appengine and put my > appengine url in the facebook canvas url. But every deploy takes me > 4 / 8 minutes :( > > Is there any way to locally test my fb app using gae? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.