More refactoring to extract out twitter and FB connection