He got voted into office solely from skin color alone
That's not the whole reason.
It also happened because Bush pissed everyone off so much and was so corrupt, people wanted any kind of change. Bush pissed people off so much, he created an intense leftist movement in America with his bullshit.
Also McCain/Palin was a joke. More specifically PALIN was a joke and lots of people would not vote for her. Lots of people that were in the middle went for Obama because Palin was an airhead and would have been a disgraceful VP.
Also there were the wars. Obama promised to get us out of the wars and people wanted that. But now Obama have proven himself to be a warhawk just like Bush.
Lot's of other reasons too, i'm too lazy to type it all out. We all saw what happened.....
Race was a major issue too of course. Obama's race is also fueling the intense protests against him by angry white people. These fucking idiots should have started their protesting in 2003 when we invaded Iraq. It took a black man getting into the White house to make them wake the fuck up.