internet explorer 8 - My Facebook Connect .php webpage works on Chrome, Firefox, IE9 but not on IE8. It shows up as a blank white screen -
i have app developed works in chrome, internet explorer 9, , mozilla no luck in internet explorer 8. without going through facebook, blank screen in internet explorer. strange if view page source, can see of source. in fb still same white screen.
i using ie8. finding goes p3p policy. every site says place policy cookies can pass , session run.
this link found.
yes, these have been implemented. including honk hack fb uses on own site bypass ie 3rd party cookie security issue.
yes, have done changed privacy settings no luck.
does know what's wrong this? code looks this:
<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html id="facebook" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- start init facebook app --> <div id="fb-root"></div> <script src="http://connect.facebook.net/en_us/all.js"></script> <script> fb.init({ appid:'298230576859720', cookie:true, status:true, xfbml:true, authresponse:true, oauth : true }); </script> <!-- end init facebook app --> <script type="text/javascript"> // start facebook js feed pop code function fbroutine(){ // if user isn't authenticated or logged in authentication fb.getloginstatus(function(response) { if (response.authresponse) { // logged in , connected user, know //alert ('authed already'); // alert (response.status); // fbfeed(); // show feed pop window.location = "facebook-step-03-optin.php"; } else { // no user session available, dont know //alert ('not authed'); //alert (response.status); window.location = "facebook-step-02-login.php"; }; }); // end getloginstatus }; // end function // end facebook js feed pop code fbroutine(); // run routine detect fb authentication prior submitting form , after validation. </script>
i don't think code complete, i'll give shot. first thing, there problem ie8, try wrapping fbroutine(); call in document.onload ow window.onload. read this, how detect when facebook's fb.init complete, maybe js sdk not yet initialized when calling fb.getloginstatus.
please check if have posted complete code, luck
Comments
Post a Comment