Updated twitter functionality.