You can get this back by connecting to Facebook again from the Results screen after any race, or go to settings > friends codes and login to Facebook there.