Research shows that a message to Facebook users showing which of their friends voted in a 2010 US election drove 340,000 more people to the polls.