Doesn't work on Windows Phones
This code works great on iphone, android, chrome, firefox, IE except...on Windows Phone it says "object doesn't support this property or method 'fb'" Any ideas?
I have obviously included your .js file correctly otherwise it wouldn't work on any of the devices at all.
$(document).ready(function () { try{ onDeviceReady(); $(document).fb('44444444444444'); $(document).on('fb:initialized', function () { FB.getLoginStatus(fbAuthStatusChange); }); } catch (e) { alert('An error has occurred: ' + e.message) } //document.addEventListener("deviceready", onDeviceReady, true); });
I wonder if there is a bug in the Facebook JavaScript SDK that is causing an error. There are quite a few open issues related to the jssdk and Windows Phone. Have you tried debugging at all?
Facebook Bugs: https://developers.facebook.com/bugs?search_view=search&&search_statuses[0]=open&search_texts[0]=windows%20phone