w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Blocked a frame with origin "https://www.facebook.com" from accessing a frame with origin "http://myapp.herokuapp.com"

Pretty old question, but it's still open- so In case you didn't see this answer already, Mademoiselle Geek is spot-on. A quick double-check on my heroku app verifies that you can, in fact, just type https: instead of http: and it will accept an SSL connection automatically- no set up required. The only thing you do have to set up is in your Facebook.js.coffee- this section..

initializeFacebookSDK = ->
  FB.init
    channelUrl   : 'http://app.heroku.com/page/fbchannel'

Change to..

initializeFacebookSDK = ->
  FB.init
    channelUrl   : 'https://app.heroku.com/page/fbchannel'

Then, depending on your operating system (I use linux) do a quick grep search (or search the text of files within a directory) for http://app.heroku and change it to https, just to be safe.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.