Twitter Data from 2008 Election

Given a random sample of the Twitter public feed for 2008, determine whether the twitter population favored Obama or McCain. Could you base an election day prediction on Twitter postings? This would largely be a regular expressions exercise (I have the data in text format).