lib/omniauth/strategies/facebook.rb in oa-oauth-0.2.5 vs lib/omniauth/strategies/facebook.rb in oa-oauth-0.2.6

- old
+ new

@@ -43,10 +43,10 @@ end end def user_info { - 'nickname' => user_data["link"].split('/').last, + 'nickname' => user_data["username"], 'email' => (user_data["email"] if user_data["email"]), 'first_name' => user_data["first_name"], 'last_name' => user_data["last_name"], 'name' => "#{user_data['first_name']} #{user_data['last_name']}", 'image' => "http://graph.facebook.com/#{user_data['id']}/picture?type=square",