我在heroku上托管网站,并添加了两个自定义域名(没有SSL),我无法使用facebook API来处理它,如果我输入heroku URL我会收到错误:
Uncaught SecurityError: Blocked a frame with origin "https://example.herokuapp.com" from accessing a frame with origin "http://www.custom-domain.pl".
The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
即使在FB中有http://。
当我尝试放置自定义域网址时,在开发者标签中我得到了
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings.
It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
任何想法如何让facebook应用程序在自定义域上工作?