Updated twitter example to include post methods