Compatibility with tweepy 3.x