On Twitter, Carol Davidsen, the former director of integration and media analytics at Obama for America, explained how the 2012 campaign harnessed Facebook’s Application Programming Interface (API) to access the company’s "social graph” that maps users’ connections. This enabled the campaign to access information on users’ friends when they used the Facebook log-in button to access the campaign’s website, according to the Washington Post.
Facebook was surprised we were able to suck out the whole social graph, but they didn’t stop us once they realized that was what we were doing,” Davidsen tweeted.
They came to office in the days following election recruiting & were very candid that they allowed us to do things they wouldn’t have allowed someone else to do because they were on our side,” she added, in a subsequent tweet.