Twitter has been hit by a major worm attack over the Easter weekend with tens of thousands of users affected.