Windows Phone 7.5 + Ultimate Facebook

Sample URL: http://vostimonial.com/wp/roots

Tested and works on: Desktop, iPhone 3G IOS 5, Android 4

Does not work on Windows Phone 7.5 Lumia 800 IE, SurfCube

Even though Windows Phone user base is not very large, I must support this platform.

Unlike on Android, where an in-page DIV pops up or iPhone, where a tab pops up, on Windows Phone the user is taken to a m.facebook.com page replacing the page they were on originally.

After I click login with correct credentials, the screen attempts to redirect me back to the original page, but ends up on a white screen. The redirect never completes. I can see the original URL to which it is trying to redirect in the URL string.

The exact URL is
http://www.facebook.com/plugins/close_popup.php?reload=http://www.facebook.com/plugins/login_button.php%3Fscope%3Duser_about_me%252Cuser_birthday%252Cuser_events%252Cuser_location%252Cuser_birthday%252Cuser_likes%252Cemail%26login_text%3DLog%2Bin%2Bwith%2BFacebook%26app_id%3D170986623039279%26locale%3Den_US%26sdk%3Djoey%26channel%3Dhttp%253A%252F%252Fstatic.ak.facebook.com%252Fconnect%252Fxd_arbiter.php%253Fversion%253D17%2523cb%253Dfd1a7333350a35%2526origin%253Dhttp%25253A%25252F%25252Fwww.vostimonial.com%25252Ffbf34464d5ad9c%2526domain%253Dwww.vostimonial.com%2526relation%253Dparent.parent%26ret%3Dperms%26hash%3DAQBlyQWp8RSTDA_H&perms=user_about_me,user_birthday,user_events,user_location,user_likes,email&selected_profiles=738492082#_=_

Switching user agent did not appear to help.

This seems to be a hint: https://developers.facebook.com/docs/reference/dialogs/#display

I tried setting the display parameter in base_facebook.php but it didn't result in visible changes.

I can confirm that the app shows up under my http://www.facebook.com/settings?tab=applications when I authenticate on Windows Phone after deleting its previous credentials at that URL.