2012-11-02 42 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。沒有它是好的。