Many abroad embraced Barack Obama as America's next president, proclaiming that America is once again an example for the rest of the world.