I'm hosting website on heroku, and added two custom domains(with no SSL), and I can't get facebook API to work on it, if I put heroku URL I get error:
Uncaught SecurityError: Blocked a frame with origin "http://ift.tt/1ug6efB" from accessing a frame with origin "http://ift.tt/1BTmQbG".
The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
Even though in FB there is http://.
When I'm trying to put custom domain URL, in developer tab I get
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.
Any idea how can I get facebook app to work on custom domains?
Aucun commentaire:
Enregistrer un commentaire