<p>With the rapid evolution and growth of the internet, many individuals are using websites, blogs, and social media, and sharing their opinions about any product or service on online social platforms. Opinion mining (OM) is a field of analyzing opinions or reviews given by the public about services or products on online resources into positive, negative, or neutral classes. Governments, businesses, and researchers are using OM to analyze the reviews or opinions of the public. Thus, OM is helping individuals and businesses in better decision making. This paper mainly focuses on the feature extraction, performance analysis of OM classifiers and optimization using swarm intelligence (SI). Our proposed work: i) evaluates the performance of OM classification techniques after data collection, pre-processing, and feature extraction, ii) applies the dragonfly algorithm (DA) for optimization, and iii) evaluates the performance of OM classification techniques after applying DA and compares it with the observed performance of OM classifiers before optimization. The experimental results show that OM classification techniques perform better after optimization using DA in terms of precision, recall, f-score, and accuracy.</p>