我正在尝试通过调用来设置应用程序的高度:
FB.init({ appId: fbAppId,
status: true,
cookie: true,
xfbml: true,
oauth: true,
channelURL: webUrl + '/channel.html'
});
FB.Canvas.setAutoResize();
如果它在 HTTP 上不起作用,但在 HTTPS 上起作用。
示例 URL: http: //www.facebook.com/ListerineAU/app_300955373319633 - 不工作 https://www.facebook.com/ListerineAU/app_300955373319633 - 工作
错误信息:
Unsafe JavaScript attempt to access frame with URL http://www.facebook.com/ListerineAU/app_300955373319633 from frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=5#channel=f35120b198&origin=http%3A%2F%2Fjwteeth.aptira.com&channel_path=%2F%3Ffb_xd_fragment%23xd_sig%3Df2eb2cde4%26&transport=postmessage. Domains, protocols and ports must match.
FB端好像出错了,有没有其他人遇到过这种情况?