add twitter sample code