search for: get_user_info_from_cooki

Displaying 1 result from an estimated 1 matches for "get_user_info_from_cooki".

2012 May 01
1
uninitialized constant LoginController in Ruby
...n Qstack::Application.initialize! require ''koala'' This is my application_controller.rb class ApplicationController < ActionController::Base # protect_from_forgery before_filter :parse_facebook_cookies def parse_facebook_cookies @facebook_cookies = Koala::Facebook::OAuth.new.get_user_info_from_cookie(cookies) end end This is my login_controller.rb class LoginController < ApplicationController def index graph = Koala::Facebook::GraphAPI.new(@facebook_cookies["access_token"]) @likes = graph.get_connections("me", "likes") end I am using Rails 3 and th...