2012-11-02 32 views
0
FB.ui({ 
      method: 'feed', 
      name: 'Help set the record straight!', 
      link: 'http://www.facebook.com/nothingbeatsbeef/app_545512565475443', 
      picture: 'http://cs.apps2.pixolut.com/rsrc/509309abe46cea93eefec36a', 
      caption: '', 
      description: 'No longer will Aussies be taunted with ‘Throw another shrimp on the barbie’. Sign the petition to get the ad that started it all remade with the RIGHT line ‘throw another steak on the barbie’.' 
     },function(response){ 
      if (response && response.post_id) { 
       setTimeout(function(){self.location.href = '/load/preview/page/50908acbe46c03d72dcc26b6';}, 2000); 
      } else { 
       setTimeout(function(){self.location.href = '/load/preview/page/50908acbe46c03d72dcc26b6';}, 2000); 
      } 
     }); 

由于某种原因,这个JavaScript重定向后facebook分享它不能在SSL上的IE8上工作。 有谁知道为什么?FB.ui javascript重定向后共享不工作在IE8上的SSL

+0

你有没有尝试过没有setTimeout,发布后马上重定向?你在控制台中是否有任何错误? – CBroe

回答

0

出于某种原因,这只是在虚拟机上使用IE8。没有它是好的。