Twitter provider refactoring