“Protocols, domains, and ports must match” problems

被刻印的时光 ゝ 提交于 2019-12-03 11:16:06

iframes and the main page have to match protocols ( Http:// and Https:// )

a secure site can not communicate with a not-secure site

just make everything secure to make things easier. Sites like Facebook are going to require it anyways.

Can you provide some information about the browser where you're getting those errors?

Because Chrome have a know error related with your issue. More info here.

You cannot access values in the embedded facebook page. That is against the Same Domain Policy. The two sites can communicate using postMessage if you control both sites, but I doubt that you control the facebook part ...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!