switched nickname to pull from facebook username instead of the end of the users profile url

This commit is contained in:
Bobby Marko 2011-05-06 16:55:04 -07:00
parent e31acbcdb6
commit f016e035be
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module OmniAuth
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"],