Skip to content

Instantly share code, notes, and snippets.

@amite
Created October 10, 2014 01:44
Show Gist options
  • Save amite/4fa5eb3dbb45120080d6 to your computer and use it in GitHub Desktop.
Save amite/4fa5eb3dbb45120080d6 to your computer and use it in GitHub Desktop.
facebook auth_hash without username or nickname field
pp request.env["omniauth.auth"]
{"provider"=>"facebook",
"uid"=>"278975188965788",
"info"=>
{"email"=>"jiptfti_adeagbostein_1412358537@tfbnw.net",
"name"=>"Dick Ameeiibgeiij Adeagbostein",
"first_name"=>"Dick",
"last_name"=>"Adeagbostein",
"image"=>"https://graph.facebook.com/278975188965788/picture",
"urls"=>
{"Facebook"=>
"https://www.facebook.com/app_scoped_user_id/278975188965788/"},
"verified"=>false},
"credentials"=>
{"token"=>
"CAAHzqZAKiifoBABZChXk2HopS5wQo0mBCucqUYVRQDohlfkS8t1uqdZCx9jqAg1bTRo78PSvlZCrsW2eDwt9XImy1lGlwqRlUNYAVDOuElLQCJbs8S8WcCwoeA2mJsKeBfmpU7G8F7cCsmyAh5fTZAZBWRyCVZCsenDAaxxmE569vLTZCAd6feJNbYJTKxj2NibdtO5kfdOl1hCkRVPqwDtU",
"expires_at"=>1418088586,
"expires"=>true},
"extra"=>
{"raw_info"=>
{"id"=>"278975188965788",
"email"=>"jiptfti_adeagbostein_1412358537@tfbnw.net",
"first_name"=>"Dick",
"gender"=>"male",
"last_name"=>"Adeagbostein",
"link"=>"https://www.facebook.com/app_scoped_user_id/278975188965788/",
"locale"=>"en_US",
"middle_name"=>"Ameeiibgeiij",
"name"=>"Dick Ameeiibgeiij Adeagbostein",
"timezone"=>5.5,
"updated_time"=>"2014-10-03T17:58:56+0000",
"verified"=>false}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment