Former President Barack Obama has warned against some of the perils of social media — in particular, its potential to create social divisions and spread misinformation — in a highly anticipated interview with the U.K’s Prince Harry.

Speaking with the prince, who guest edited Wednesday’s episode of BBC Radio 4’s Today show, the former President expressed concern about how social media can reinforce people’s prejudices and expose users to dubious information, the BBC reports.

“One of the dangers of the Internet is that people can have entirely different realities. They can be cocooned in information that reinforces their current biases,” he said. Obama did not name his successor, President Donald Trump, whose hostility to traditional news media and flexibility with facts has…