arsduo / koala

A lightweight Facebook library supporting the Graph, Marketing, and Atlas APIs, realtime updates, test users, and OAuth.
http://developers.facebook.com/
MIT License
3.55k stars 464 forks source link

Cookies Chrome #183

Closed kurl closed 12 years ago

kurl commented 12 years ago

Hey,

I'm running Koala version 1.4.0. I'm using Safari 5.1.5 and the latest version of Chrome 18.0.1025.162

I'm just doing this in my action controller : @oauth = Koala::Facebook::OAuth.new(api_id, app_secret) @info = @oauth.get_user_info_from_cookies(cookies)

With Safari, @info returns everything but with Chrome it's just empty. Do you have an idea why ? Please help. Thanks

arsduo commented 12 years ago

Hey kurl,

That's odd -- in the past it was always Safari that had problems with cookies, not Chrome. Are your Chome settings standard? (E.g. no strange cookie settings, like rejecting third party cookies.) Does it work in Firefox, out of curiosity?

Finally, what kind of app are you developing -- a website with Facebook integration, or an iframe app in a tab or canvas?

Best,

Alex

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, April 13, 2012 at 4:04 AM, kurl wrote:

Hey,

I'm running Koala version 1.4.0. I'm using Safari 5.1.5 and the latest version of Chrome 18.0.1025.162

I'm just doing this in my action controller : @oauth = Koala::Facebook::OAuth.new(api_id, app_secret) @info = @oauth.get_user_info_from_cookies(cookies)

With Safari, @info returns everything but with Chrome it's just empty. Do you have an idea why ? Please help. Thanks


Reply to this email directly or view it on GitHub: https://github.com/arsduo/koala/issues/183

kurl commented 12 years ago

It works with firefox. It seems that Chrome doesn't allow you to set cookies with a localhost domain.