Louis-Napoleon established his campaign headquarters and residence at the Hotel du Rhin on Place Vendôme. He was accompanied by his companion, Harriet Howard, who gave him a large loan to help finance his campaign. He rarely went to the sessions of the National Assembly, and rarely voted. He was not a gifted orator; he spoke slowly, in a monotone, with a slight German accent from his Swiss education. His opponents sometimes ridiculed him, one comparing him to "a turkey who believes he's an eagle."
Louis Napoléon captured 74.2 percent of votes cast in the first French direct presidential elections in 1848.
His campaign appealed to both the left and right. His election manifesto proclaimed his support for "religion, the family, property, the eternal basis of all social order." But it also announced his intent "to give work to those unoccupied; to look out for the old age of the workers; to introduce in industrial laws those improvements which don't ruin the rich, but which bring about the well-being of each and the prosperity of all."
His campaign agents, many of them veterans from Napoleon Bonaparte's Army, raised support for him around the country. Louis-Napoleon won the grudging endorsement of the conservative leader, Adolphe Thiers, who believed he could be the most easily controlled; Thiers called him "of all the candidates, the least bad." He won the backing of L'Evenement, the newspaper of Victor Hugo, which declared, "We have confidence in him; he carries a great name." His chief opponent, General Cavaignac, expected that Louis-Napoleon would come in first, but that he would receive less than fifty percent of the vote, which would mean the election would go to the National Assembly, where Cavaignac was certain to win.
The elections were held on 10–11 December, and results announced on 20 December. Louis-Napoleon was widely expected to win, but the size of his victory surprised almost everyone. He won 5,572,834 votes, or 74.2 percent of votes cast, compared with 1,469,156 for Cavaignac. The socialist Ledru-Rollin received 376,834; the extreme left candidate Raspail received 37,106, and the poet Lamartine received only 17,000 votes. Louis-Napoleon won the support of all parts of the population: the peasants unhappy with rising prices; unemployed workers; small businessmen who wanted prosperity and order; and intellectuals such as Victor Hugo. He won the votes of 55.6 percent of all registered voters, and won in all but four of France's departments.
(source)