Refactor twitter bot fetching data mechanism to be more DRY.