Many of the "Tech Gods" were dismayed when Donald Trump - who holds a very different worldview - won the American presidency. But did they actually help him to win?

A key insider from the Trump campaign's digital operation - Theresa Hong - unravels for the first time the role played by social media and Facebook's in getting Trump into the White House.

Jamie Bartlett learns how Facebook's vast power to persuade was first built for advertisers, combining data about our internet use and psychological insights into how we think.

Watch Secrets of Silicon Valley on BBC Two, Sunday 8pm