Facebook API opens up new browser and doesn't work on iphone
You can see the odd behavior on my app at:
politics.app.appery.io
On the web, the facebook connection works fine. It logs you into facebook, and redirects to the right page, bringing in the facebook/friend data, etc.
On the iphone, however, it doesn't work at all. It oddly redirects to appery.io/m/login.seam, and effectively ends the experience.
Any ideas on either of these? I'm using the Facebook plug in, and here's my javascript code for when you click the login button:
var callbackUrl = "http://appery.io/app/view/2df48e0a-f7...";
var url="+"&redirect_uri="+callbackUrl+"&scope=&response_type=token]https://www.facebook.com/dialog/oauth...";
window.location = url;
Thanks!