RailsCasts Pro episodes are now free!

Learn more or hide this

Lorgio Jimenez's Profile

GitHub User: lorgio

Site: www.travelandleisure.com

Comments by Lorgio Jimenez

Avatar

Has anyone figured out the issue with why chrome won't work locally with the JDK but Safari will?

ruby
OmniAuth::Strategies::Facebook::NoAuthorizationCodeError (must pass either a 
`code` parameter or a signed request (via `signed_request` parameter or a 
`fbsr_XXX` cookie)):

there's a message on chrome with "Unsafe Javascrtipt attempt to access frame with URL....... but there is no message like that in Safari.

I do have the FB.init setup properly

          FB.init({
            appId      : 'myappid', // App ID
            status     : true, // check login status
            cookie     : true, // enable cookies to allow the server to access the session
            xfbml      : true  // parse XFBML
          });