Updated for compatibility with twitter 4.4.3 gem update (previously used 2.5.0)