Barack Obama praised freedom of expression and political participation and criticised internet censorship as he spoke to students in Shanghai…