Understanding COVID-19 Halal Vaccination Discourse on Facebook and Twitter Using Aspect-Based Sentiment Analysis and Text Emotion Analysis

Int J Environ Res Public Health. 2022 May 21;19(10):6269. doi: 10.3390/ijerph19106269.

Abstract

The COVID-19 pandemic introduced unprecedented challenges for people and governments. Vaccines are an available solution to this pandemic. Recipients of the vaccines are of different ages, gender, and religion. Muslims follow specific Islamic guidelines that prohibit them from taking a vaccine with certain ingredients. This study aims at analyzing Facebook and Twitter data to understand the discourse related to halal vaccines using aspect-based sentiment analysis and text emotion analysis. We searched for the term "halal vaccine" and limited the timeline to the period between 1 January 2020, and 30 April 2021, and collected 6037 tweets and 3918 Facebook posts. We performed data preprocessing on tweets and Facebook posts and built the Latent Dirichlet Allocation (LDA) model to identify topics. Calculating the sentiment analysis for each topic was the next step. Finally, this study further investigates emotions in the data using the National Research Council of Canada Emotion Lexicon. Our analysis identified four topics in each of the Twitter dataset and Facebook dataset. Two topics of "COVID-19 vaccine" and "halal vaccine" are shared between the two datasets. The other two topics in tweets are "halal certificate" and "must halal", while "sinovac vaccine" and "ulema council" are two other topics in the Facebook dataset. The sentiment analysis shows that the sentiment toward halal vaccine is mostly neutral in Twitter data, whereas it is positive in Facebook data. The emotion analysis indicates that trust is the most present emotion among the top three emotions in both datasets, followed by anticipation and fear.

Keywords: COVID-19; Facebook; Twitter; emotion analysis; halal vaccine; sentiment analysis; social media; vaccine.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • COVID-19* / prevention & control
  • Emotions
  • Humans
  • Pandemics / prevention & control
  • Sentiment Analysis
  • Social Media*
  • Vaccination / psychology
  • Vaccines*

Substances

  • Vaccines

Grants and funding

We would like to thank the UM Halal Research Center staff for their administrative and technical support. This research was partly funded by Universiti Malaya, grant number BKS001-2019. The first author would like to thank Universiti Malaya for funding the postdoctoral position. The work of the second author was supported by Impact-oriented Interdisciplinary Research Grant (IIRG) under grant IIRG001C-2020SAH.