The Obama campaign's new-media strategy, inspired by popular social networks like MySpace and Facebook, has revolutionized the use of the Web as a political tool, helping the candidate raise more than two million donations of less than $200 each and swiftly mobilize hundreds of thousands of supporters.