public function getContact($type, $id)
{
if ($type == 'twitter' && Contact::where('twitter_id', $id)->exists()) {
return Contact::findByTwitterId($id);
} else {
if ($type == 'facebook' && Contact::where('facebook_id', $id)->exists()) {
return Contact::findByFbId($id);
}
}
return new Contact();
}