ruby on rails - Omniauth Facebook doesnt return the extra data -


i tried show in google or here doesn't work show me basic info (name,id,photo)

here s code omniauth.rb:

provider :facebook, 'key', 'key', {:scope => 'email',:info_fields => 'email', :client_options => {:ssl => {:ca_file => rails.root.join("cacert.pem").to_s}}} 

and how call it:

auth = request.env["omniauth.auth"] session[:omniauth] = auth 


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -