I've created a HTML5 app that is not running on any webserver. It's just html and javascript, and I want to make my users login so they could save their score with their id.
I've added the Facebook javascript and it's running, however I get this error:
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
What does this mean? Must my HTML5 app be running on a webserver with a domain? IE: http://foo.com/mygame.html? I was hoping to create my game and test in Chrome during development, and then push it to devices such as Android and Windows Phone. But I'm now unsure if even that works as the devices don't run a webserver.
So the question is, is it possible to do it with "pure" HTML5 for the ultimate portablility or do I have to involve Phonegap (for instance) and implement their per device implementation of the Facebook API when I'm targeting mobile devices?