modified twitter handler supporting Twitter gem versions >= 5