arsduo/koala — pull request #155 by spejman (2011-12-15 12:33:46+00:00)
Title: Don't query FB when using oauth. get_user_from_cookie

Hello!

Thanks for your great gem! I found it very usefull!

Digging into the code I found that oauth.get_user_from_cookie uses oauth.get_user_info_from_cookies method (which queries FB for getting tha access token) for obtaining the facebook user id. The fb user id can be obtained without the access token retrieval query, I pull you the code.

Thanks!
Sergio Espeja