Omniauth facebook email id not getting in rails? Better way use the koala api get the email address Steps 1)gem "koala" 2)bundle install 3)Get the request.env['omniauth.auth'] 3)@graph = Koala::Facebook::API.new( request.env['omniauth.auth']['credentials']['token'] ) 4)user_email = @graph.get_object("me?fields=email")
I love Ruby on rails.Ruby on Rails Coding is not my job its my passion ..