Categories
Nevin Manimala Statistics

Exploring Social Media Posts on Lifestyle Behaviors: Sentiment and Content Analysis

JMIR Infodemiology. 2025 Jun 25;5:e65835. doi: 10.2196/65835.

ABSTRACT

BACKGROUND: There has been an increase in the prevalence of noncommunicable diseases in Malaysia. This can be prevented and managed through the adoption of healthy lifestyle behaviors, including not smoking, avoiding alcohol consumption, maintaining a balanced diet, and being physically active. The growing importance of using social media to deliver information on healthy behaviors has led health care professionals (HCPs) to lead these efforts. To ensure effective delivery of information on healthy lifestyle behaviors, HCPs should begin by understanding users’ current opinions about these behaviors and whether the users are receptive to recommended health practices. Nevertheless, there has been limited research conducted in Malaysia that aims to identify the sentiments and content of posts, as well as how well users’ perceptions align with recommended health practices.

OBJECTIVE: This study aims to examine social media posts related to various lifestyle behaviors, by using a combination of sentiment analysis to analyze users’ sentiments and manual content analysis to explore the content of the posts and how well users’ perceptions align with recommended health practices.

METHODS: Using keywords based on lifestyle behaviors, posts originating from X (formerly known as Twitter) and published in Malaysia between November and December 2022 were scraped for sentiment analysis. Posts with positive and negative sentiments were randomly selected for content analysis. A codebook was developed to code the selected posts according to content and alignment of users’ perceptions with recommended health practices.

RESULTS: A total of 3320 posts were selected for sentiment analysis. Significant associations were observed between sentiment class and lifestyle behaviors (χ26=67.64; P<.001), with positive sentiments higher than negative sentiments for all lifestyle behaviors. Findings from content analysis of 1328 posts revealed that most of the posts were about users’ narratives (492/1328), general statements (203/1328), and planned actions toward the conduct of their behavior (196/1328). More than half of tobacco-, diet-, and activity-related posts were aligned with recommended health practices, whereas most of the alcohol-related posts were not aligned with recommended health practices (63/112).

CONCLUSIONS: As most of the alcohol-related posts did not align with recommended health practices, the findings reflect a need for HCPs to increase their delivery of health information on alcohol consumption. It is also important to ensure the ongoing health promotion of the other 3 lifestyle behaviors on social media, while continuing to monitor the discussions made by social media users.

PMID:40561482 | DOI:10.2196/65835

By Nevin Manimala

Portfolio Website for Nevin Manimala