This isn't the first time Facebook has given access to its insights for the elections -- the company also partnered with Politico earlier this year to let journalists mine its data for voter sentiments.

These partnerships show social media's rising importance in elections. Twitter started a partnership with analytics company Topsy to produce voter sentiment data -- including positive and negative mentions -- with USA Today highlighting the index in its publication.