知道为什么我仍然在 homodigitalis.org 上收到错误 Unsafe JavaScript attempt to access frame with URL http://homodigitalis.org/from frame with URL
尽管我关注了Facebook's recommendations ?
window.fbAsyncInit = function(){
// init the FB JS SDK
FB.init({
appId: '155692864582714',
channelUrl: 'http://homodigitalis.org/channel.html',
status: true,
xfbml: true
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
最佳答案
根据这个错误报告,来自 FB 的人说这是一个预期的异常:
关于facebook-graph-api - 面子书 : Unsafe JavaScript attempt to access frame with URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14652689/