Ruby on Rails Monday, October 1, 2018

Hi, I've got my facebook login working ok with my web app, but not sure how to grab some extra facebook values (last_name, first_name).

If I could just inspect or display the hash coming back from facebook that would be great (first step).  
 
The fabebook hash should be in this request.env['omniauth.auth']:  

I think I would maybe need to fix my callback scope or the info_fields  (my callback doesn't include any of these extra parameters).

Any suggestions are welcomed.

Thanks,
Joe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5871414d-47b7-4158-835e-3e4c7214ea1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment