1

有没有人得到这个错误:

SEC7111:HTTPS 安全性受到https://www.facebook.com/plugins/comments.php的威胁

在 IE8 和 IE7 中实现 Facebook 评论插件时:

<html lang="en"  xmlns:fb="http://ogp.me/ns/fb#">
...
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {

    //helps fix ie securrity errors
    FB._https = true;

    FB.init({
      appId      : '408511102504009', // App ID
      channelUrl : '//mv.uat.venda.com/page/channel.html', // Channel File
      status     : true, // check login status
      cookie     : true, // enable cookies to allow the server to access the session
      xfbml      : true  // parse XFBML
    });

    // Additional initialization code here
  };

  // Load the SDK Asynchronously
  (function(d){
     var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement('script'); js.id = id; js.async = true;
     js.src = "//connect.facebook.net/en_US/all.js";
     ref.parentNode.insertBefore(js, ref);
   }(document));
</script>


<fb:comments href="http://mv.uat.venda.com/denim/test-outfit/invt/7999999999996/" num_posts="3" width="395"></fb:comments>
4

0 回答 0