Added function to check if twitter is available