public function scopeFindByTwitterId($query, $id) { return $query->where('twitter_id', $id)->first(); }