original commit for kohana twitter api