我的主要 javascript(以及所有静态内容)包含在https://static.anuary.com
. 用户正在浏览的 URL 是https://dev.anuary.com/somepath/
。
频道文件需要放在哪里,dev.anuary.com
或者static.anuary.com
?目前是http://static.anuary.com/channel.html。
我问是因为我仍然收到错误消息:
不安全的 JavaScript 尝试使用 URL https://www.facebook.com/dialog/oauth?access_token=[..]&api_key=[..]&app_id=[..]&client_id=[..]&display=popup&domain= 访问框架dev.anuary.com&locale=en_US&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D6%23cb%3Df3ac7a0544%26origin%3Dhttp%253A%252F%252Fdev.anuary。 COM%252Ff373e908a8%26domain%3Ddev.anuary.com%26relation%3Dopener%26frame%3Df312def42c&RESPONSE_TYPE =记号%2Csigned_request&范围=电子邮件%2Cuser_birthday%2Cuser_likes%2Cuser_interests%2Cpublish_stream&SDK =从帧乔伊与URL http://dev.anuary.com/658fe23c24564ac978c31d167549c4ce8b36686d65a78ad99bfb38765d46e232 /。域、协议和端口必须匹配。
回应@dtbarne:
嗯,就是这样——我仍然不知道,因为我已经尝试过弓形方法和任何方法,以防它产生相同的错误:
不安全的 JavaScript 尝试使用 URL https://www.facebook.com/dialog/oauth?access_token=[..]&api_key=[..]&app_id=[..]&client_id=[..]&display=popup&domain= 访问框架dev.anuary.com&locale=en_US&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D6%23cb%3Df1ee31b93%26origin%3Dhttp%253A%252F%252Fdev.anuary。 COM%252Ff9359b2f%26domain%3Ddev.anuary.com%26relation%3Dopener%26frame%3Df18e94f9c4&RESPONSE_TYPE =记号%2Csigned_request&范围=电子邮件%2Cuser_birthday%2Cuser_likes%2Cuser_interests%2Cpublish_stream&SDK =从帧乔伊与URL http://dev.anuary.com/658fe23c24564ac978c31d167549c4ce8b36686d65a78ad99bfb38765d46e232 /。域、协议和端口必须匹配。