connect tweet socket to view