Designing and Implementing an Emotion Analytic System (EAS) on Instagram Social Network Data

Document Type : Original Article


1 Department of Artificial Intelligence (AI), School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran

2 Faculty of Computer Engineering, K. N. Toosi University of Technology, Tehran, Iran


Being aware of people's attitudes and emotions about a specific person or an event can have a high impact on the decisions of individuals and organizations. With the rise of social networks, specifically Instagram, many people are sharing their attitudes on this social network. Analyzing the emotions of users of this social network can help managers make organizational decisions and predict essential events such as elections. In this research, the EAS system designed and implemented to extract emotions and visualize them. As a practical example, the Instagram users' feelings about the two main candidates for the 12th Iranian presidential election also examined. The data were Instagram Persian comments collected using a developed crawler. The result shows a more positive feeling about Rouhani in comparison with Raeisi. Also, the lexicon-based analysis of Rouhani revealed a high level of trust emotion, along with anger and disgust. The crawled and preprocessed dataset is publicly available at