Updated twitter example to conform to v1.1 API