omniauth facebook api

16 views
Skip to first unread message

Joe Guerra

unread,
Oct 1, 2018, 1:50:17 PM10/1/18
to Ruby on Rails: Talk
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

Hasan Diwan

unread,
Oct 1, 2018, 1:59:09 PM10/1/18
to rubyonra...@googlegroups.com
Joe,
Perhaps putting your app on github/bitbucket would be useful? -- H
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@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.



--
OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable
Reply all
Reply to author
Forward
0 new messages