Twitter example fix

fixed a mistake in the twitter example