refactor get_latest_tweets a bit