The document investigates how Facebook data and machine learning algorithms can predict political election outcomes, focusing on the development of predictive models using social media interactions. It highlights the inadequacies of previous research, outlines the methodology for analysis using data from French local elections, and demonstrates that Facebook activity, particularly the total number of page likes, is a significant predictor of election results. The study concludes with recommendations for political campaigns on social media and acknowledges limitations in its scope.