refactoring to later allow for other calls to generate twitter urls