Published on in Vol 25 (2023)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/42863, first published .
Social Media Data Mining of Antitobacco Campaign Messages: Machine Learning Analysis of Facebook Posts

Social Media Data Mining of Antitobacco Campaign Messages: Machine Learning Analysis of Facebook Posts

Social Media Data Mining of Antitobacco Campaign Messages: Machine Learning Analysis of Facebook Posts

Original Paper

1Department of Health Administration and Policy, College of Public Health, George Mason University, Fairfax, VA, United States

2School of Computer Science and Engineering, Changshu Institute of Technology, Suzhou, Jiangsu Province, China

3Department of Physics and Engineering, College of Engineering and Science, Slippery Rock University of Pennsylvania, Slippery Rock, PA, United States

4Department of Health Behavior and Policy, School of Medicine, Virginia Commonwealth University, Richmond, VA, United States

5Department of Psychology, College of Humanities and Sciences, Virginia Commonwealth University, Richmond, VA, United States

6Center for the Study of Tobacco Products, Virginia Commonwealth University, Richmond, VA, United States

7Department of Psychiatry, School of Medicine, Virginia Commonwealth University, Richmond, VA, United States

8Department of Communication, College of Humanities and Social Sciences, George Mason University, Fairfax, VA, United States

9Department of Information Sciences and Technology, College of Engineering and Computing, George Mason University, Fairfax, VA, United States

Corresponding Author:

Hong Xue, PhD

Department of Health Administration and Policy

College of Public Health

George Mason University

4400 University Dr, Fairfax

Fairfax, VA, 22030

United States

Phone: 1 703 993 9833

Fax:1 703 993 1953

Email: hxue4@gmu.edu


Background: Social media platforms provide a valuable source of public health information, as one-third of US adults seek specific health information online. Many antitobacco campaigns have recognized such trends among youth and have shifted their advertising time and effort toward digital platforms. Timely evidence is needed to inform the adaptation of antitobacco campaigns to changing social media platforms.

Objective: In this study, we conducted a content analysis of major antitobacco campaigns on Facebook using machine learning and natural language processing (NLP) methods, as well as a traditional approach, to investigate the factors that may influence effective antismoking information dissemination and user engagement.

Methods: We collected 3515 posts and 28,125 associated comments from 7 large national and local antitobacco campaigns on Facebook between 2018 and 2021, including the Real Cost, Truth, CDC Tobacco Free (formally known as Tips from Former Smokers, where “CDC” refers to the Centers for Disease Control and Prevention), the Tobacco Prevention Toolkit, Behind the Haze VA, the Campaign for Tobacco-Free Kids, and Smoke Free US campaigns. NLP methods were used for content analysis, including parsimonious rule–based models for sentiment analysis and topic modeling. Logistic regression models were fitted to examine the relationship of antismoking message-framing strategies and viewer responses and engagement.

Results: We found that large campaigns from government and nonprofit organizations had more user engagements compared to local and smaller campaigns. Facebook users were more likely to engage in negatively framed campaign posts. Negative posts tended to receive more negative comments (odds ratio [OR] 1.40, 95% CI 1.20-1.65). Positively framed posts generated more negative comments (OR 1.41, 95% CI 1.19-1.66) as well as positive comments (OR 1.29, 95% CI 1.13-1.48). Our content analysis and topic modeling uncovered that the most popular campaign posts tended to be informational (ie, providing new information), where the key phrases included talking about harmful chemicals (n=43, 43%) as well as the risk to pets (n=17, 17%).

Conclusions: Facebook users tend to engage more in antitobacco educational campaigns that are framed negatively. The most popular campaign posts are those providing new information, with key phrases and topics discussing harmful chemicals and risks of secondhand smoke for pets. Educational campaign designers can use such insights to increase the reach of antismoking campaigns and promote behavioral changes.

J Med Internet Res 2023;25:e42863

doi:10.2196/42863

Keywords



Background

The current smoking rate among adults in the United States has steadily decreased from 20.9% in 2005 to 12.5% in 2020 [1,2]. Between 2019 and 2020, the prevalence of e-cigarette use among adults fell from 4.5% to 3.7% [2]. This significant decline in tobacco use can be attributed to a variety of effective national tobacco control strategies, including public health education campaigns, warning labels, smoke-free laws, and tobacco taxes [3]. Although 1-time federal or state policy changes, such as new tobacco taxes or smoke-free laws, have had a long-term impact on the general population [3], public health education campaigns are another important tool for facilitating behavioral changes among smokers [4]. As new tobacco products (eg, e-cigarettes) and media platforms (eg, streaming services and social media platforms) have emerged, antitobacco media campaigns have become an important strategy for promoting antitobacco attitudes and reducing smoking/vaping [5-7]. However, the majority of empirical studies on the effectiveness of such campaigns have focused traditional media campaigns [6-12], with limited evaluation of social media platforms. Therefore, timely evidence is needed to inform the adaptation of antitobacco campaigns to changing social media platforms.

Social media platforms, such as Facebook, Twitter, and YouTube, provide a valuable source of public health information, as one-third of US adults seek specific health information online [13,14]. Recognizing the critical importance of maximizing the use of these channels, in 2012, the Centers for Disease Control and Prevention (CDC) published guidelines for developing a social media communication strategy [15]. The framework has been used by state agencies and local health departments, which post health communication–related topics on Facebook and elsewhere [16]. The dissemination of information about antitobacco campaigns on social media differs greatly from traditional television advertising in that users in the newer approach participate more actively, while the latter is more passive. Moreover, there is a lack of evidence on how to best use these digital platforms for public health campaigns.

State and local governments and various nonprofit organizations have launched several mass media antitobacco campaigns (ie, the Real Cost campaign from the Food and Drug Administration [FDA] since 2014 [3,17] and campaigns from the Truth Initiative [18]). Early evidence suggests that youth or young adults exposed to these campaigns have a higher likelihood of smoking cessation [7]. For example, findings from the Real Cost campaign showed that increased levels of exposure to campaign advertising are associated with a significant increase in the odds of reporting agreement with campaign-specific beliefs that smoking is harmful. Other studies evaluating the effectiveness of the Truth Initiative and state-sponsored media campaigns showed that greater exposure to media campaigns is associated with lower smoking participation among youth on the individual level [19]. Other evidence, however, showed that youth smoking behavior is not associated with the degree of exposure to live broadcasts from the Truth Initiative [20], which suggests that in more recent years, the majority of youth moved away from broadcast television and gravitated instead toward social networks platforms [20]. During the same period, many campaigns recognized such trends among youth and have shifted their advertising time and effort toward digital platforms [21].

Although increasingly popular digital media platforms, such as web-based advertising and social media, allow campaigns to reach a larger audience, 1 of the major challenges for public health practitioners is determining where to invest resources, given the diverse media landscape and overwhelming number of platforms. Without a practical evaluation strategy suitable for campaigns on social media, campaign sponsors’ directions and decisions are also sometimes determined based on opinions or anecdotes rather than concrete, real-world empirical evidence, which is more useful for developing strategies to achieve campaign objectives [22]. Various evaluation metrics have been proposed for social media campaigns. User engagement, defined as the number of visits to a website; ad click-through rates; and the number of shares, likes, and comments on a social media site are popular evaluation measures of proximal impact—behavioral intentions lead to changes in behavior-related beliefs, attitudes, and social expectations [22,23]. Changes in beliefs and expectations have been shown to lead to behavioral intentions and further cause behavioral changes [23-26]. As a result, tracking user engagement with antitobacco messages and content on social media platforms may be more effective as a way to influence people's attitudes and formulate behavioral intentions.

However, only a limited amount of research has evaluated antitobacco campaigns on social media platforms. The majority of studies have focused on single campaigns with small sample sizes (ranging from as small as a few hundred to thousands of observations) [27-29]. Furthermore, the majority of the studies have used traditional analytical methods, such as manually coded content analysis—a time-consuming process. The implementation of natural language processing (NLP) for unstructured text mining in the field is easing such constraints. The recent innovations in NLP, such as bidirectional encoder representations from transformers (BERT) [30], enable the analysis of big unstructured data in social media platforms, including tracking adverse drug events and COVID-19 cases on Twitter [31,32].

Novelty and Contribution to the Field

In this study, we aimed to conduct a novel content analysis of major antitobacco campaigns on Facebook using machine learning and NLP methods, as well as a traditional approach, to investigate the factors that may influence effective antismoking information dissemination and user engagement. The study has 3 main contributions to the health care field. First, this is among the first large-scale text-mining studies focusing on both large and small antitobacco educational campaigns. The study design leads to better generalizability. Second, we analyzed the sentiments in both campaign posts and comments, which provides valuable insight into the polarized association between posts and comments that can be used in future campaigns. Third, to be more specific in how the polarized association is presented, we conducted 2 types of content analysis: traditional manually coded and text labeled by topic modeling. This approach enabled us to observe specific topics and themes, in addition to the sentiments, that social media users are more interested in. The concept can be applied in future social media research.


Data Collection and Processes

We collected posts and comments from 7 large national and local antitobacco campaigns on Facebook between 2018 and 2021, including the Real Cost, Truth, CDC Tobacco Free (formally known as Tips from Former Smokers), the Tobacco Prevention Toolkit, Behind the Haze VA, the Campaign for Tobacco-Free Kids, and Smoke Free US campaigns (links to these campaign sites can be found in Multimedia Appendix 1, Table S3). We used Facebook Scraper [33] as well as manual collection to compile 3515 posts and 28,125 associated comments (see Multimedia Appendix 1, Tables S1 and S2, for concrete sample posts and comments). Not only did we collect text and emojis from these posts and comments, but we also collected information regarding the date/time of when the posts and comments were created, as well as whether the posts contained a video.

We then constructed sentiment scores—a quantitative measure that can detect polarity within the text, including the attitude, sentiments, evaluations, and emotions of the writer—for each post and its comments using VADER (Valence Aware Dictionary and Sentiment Reasoner) algorithms. VADER is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media [34]. The score is computed by summing the valence scores of each word in the lexicon, adjusted according to the grammatical and syntactical conventions that humans use when expressing or emphasizing sentiment intensity, and then normalized to be between –1 (most extreme negative) and +1 (most extreme positive). Following the literature, we set standardized thresholds to classify sentences as either positive (normalized score≥0.05), neutral (–0.05<normalized score<0.05), or negative (normalized score≤–0.05) [34]. The construct of the negative or positive sentiment for a post or comment is based on its text, and the context and relationship between posts and their comments do not affect the sentiment score. For example, if the original post is negative, a comment that is supportive of the original post can be either positive or negative depending on the texts of the comment. Here, we show 1 sample from the Real Cost campaign:

Negative post (sentiment score=–1): The movie poster is fake, but here’s a fact: The chemicals in cigarette smoke reach your lungs quickly every time you inhale. Your blood then carries the toxic chemicals to every organ in your body. #FakeMoviePoster #RealHorror #TheRealCost

The selected positive and negative comments are shown here:

Negative comments (sentiment score=–1):
Positive comments (sentiment score=1): Keep up the good fight

More selected concrete sample posts and associated comments are provided in Multimedia Appendix 1, Tables S1 and S2). The agreement rate reached 77% between the machine learning algorithm and data manually checked from a randomly chosen set of 200 posts and comments. In this study, we tailored 3 methods for 2 different aims.

Statistical Modeling

In aim 1, we evaluated the effect of the framing strategy (ie, deemed positive or negative based on the sentiment score) of antitobacco campaign posts on the sentiment of users who engaged in them. The outcomes were (1) the sentiments of comments and (2) a binary indicator of whether a post received a higher-than-median number of likes, shares, and comments. The median was chosen as the threshold to relate our construct of sentiment scores [35]. The key exposures were the sentiments of posts. Logistic regressions were estimated and controlled for the number of likes, shares, comments, and monthly and yearly fixed effects. We clustered our estimates by posts in given campaign sites in our regression models to address the issue of intercorrelation between posts and comments from the same campaign sites. In total, 5 logistic regressions were fitted, and the detailed model specification was as follows:

Logistic regression 1:

Logit(у| positive or neutral comments)ig = α + βxig + γzig + c + δ + uig, i=1,…, n; g=1,…, G

The first logistic regression compared the comments that were deemed positive with those that were neutral. Here, subscript i denotes the unit of observation (individual comments) in post g; G denotes the number of posts; y denotes the sentiment of comments; and x is the indicator for the sentiment of posts, where 0 is neutrally framed posts, –1 is negatively framed posts, and 1 is positively framed posts. In addition, α is a constant term, z is a binary variable indicating whether the post g contains a video, c is the year fixed effect, δ is the monthly fixed effect, and u is an error term capturing unobservable variations.

Logistic regression 2:

Logit(у| negative or neutral comments)ig = c + θxig + ∂zig + α + δ + uig, i=1,…, n; g=1,…, G

The second logistic regression compared the comments that were deemed negative with those that were deemed neutral. Here, subscript i denotes the unit of observation (individual comments) in post g; G denotes the number of posts; y denotes the sentiment of comments; and x is the indicator for the sentiment of posts, where 0 is neutrally framed posts, 1 is negatively framed posts, and 2 is positively framed posts. In addition, c is a constant term, z is a binary variable indicating whether the post g contains a video, α is the year fixed effect, 𝛿 is the monthly fixed effect, and u is an error term capturing unobservable variations.

Logistic regressions 3-5:

Logit(у)ig = d + τxig + ωzig + α + δ + h + uig, i=1,…, n; g=1,…, G

The third to fifth logistic regressions were fitted to compare posts with and without more than the median number of likes, shares, and comments. Here, subscript i denotes the unit of observation (individual comments) in post g; G denotes the number of posts; y denotes the median number of likes, shares, or comments; and x is the indicator for the sentiment of posts, where 0 is neutrally framed posts, 1 is negatively framed posts, and 2 is positively framed posts. In addition, d is a constant term, z is a binary variable indicating whether the post g contains a video, α is the year fixed effect, δ is the monthly fixed effect, h is the hourly fixed effect, and u is an error term capturing unobservable variations.

Content Analysis and Topic Modeling

In aim 2, we looked into the details of the most commonly outlined content and topics formulated in the posts. We selected the top 100 liked and shared posts, as well as the top 100 posts with the most comments, to perform content analysis and topic modeling. For the content analysis, based on the literature, the content was categorized into 11 themes listed in Table 1 [36,37]. Two coders manually coded the theme for each post separately with an agreement rate of 87%.

Table 1. Themes in the content analysis.
ThemeDefinition
FearAdvertisements that aim to frighten
HumorAdvertisements that feature a humorous situation or dialogue
SadnessAdvertisements that present an emotionally unhappy scene to elicit heartache or anguish
InformationalAdvertisements that present new information
AngerAdvertisements that provoke harsh, negative feelings
Perceived benefitsAdvertisements that provide general information or guidelines about the benefits of quitting smoking/not starting smoking (eg, feel better, better health, and save money)
Perceived risksAdvertisements that provide general information or guidelines about barriers or disadvantages to quitting smoking/not starting smoking (eg, time constraint)
Perceived risksAdvertisements that provide general information or guidelines about the risks of smoking (eg, smoking causes cancer)
Self‐efficacyAdvertisements that mention the concept of self‐efficacy or its importance (eg, confidence building) in starting and maintaining smoking cessation/smoking prevention (eg, “You can do it.”)
Self‐affirmationAdvertisements that provide information regarding a recursive, self-perpetuation process that could motivate smoking cessation or smoking prevention and assess the user\'s personal self‐talk techniques (eg, “Do you tell yourself to quit smoking?”)
Subjective normAdvertisements that provide general information or guidelines regarding how much significant others approve of smoking behaviors (eg, “Quitting smoking is a socially acceptable and encouraged activity; your spouse will love it if you quit smoking.”)

In addition to the traditional content analysis, we also used NLP methods for topic modeling (latent Dirichlet allocation [LDA]) [38]. LDA groups similar patterns (antismoking topics/word clusters/phrases in this study) from the collection of media texts into topic clusters. A more detailed schematic of the LDA algorithm can be found in Multimedia Appendix 1, Figure S1. This method has been shown in tobacco research to being a supplement for uncovering newly emerging topics that are not yet researched [39]. The Python packages the natural language toolkit (NLTK) [40], spaCy [41], and Gensim [41] were used. First, we tokenized the text of posts, converting uppercase letters to lowercase letters and removing stop-words and punctuation. Next, we used all the collected data to create a dictionary, using the same aforementioned top 100 shared, liked, and commented posts as tests of the results. We tested the optimal parameters for topic modeling to extract meaningful clusters [42] and identified that 5 topics with 4 words/tokens embedded in each were most representative and mutually exclusive.


Changes in Posts, Comments, Likes, and Shares by Campaign

Table 2 shows the characteristics of response across 7 antitobacco campaign sites from 2018 to 2021. Between 2018 and 2021, 28,629 comments and 3746 of posts were collected. The level of engagement varied by campaign and year. The Real Cost campaign (the official campaign of the FDA) was highly active in 2018 but decreased drastically from 2019 to 2021. In 2018, there were 5728 total posts and comments, with an average of 4211 (SD 4134) likes, 272 (SD 197) comments, and 610 (SD 769.2) shares for each post. However, in 2019, the average likes (mean 23, SD 19), comments (mean 20, SD 26), and shares (mean 12, SD 12) shrank, and the decreasing trend remained in the next 2 consecutive years. The Truth Initiative, being 1 of the nation’s largest tobacco control organizations, experienced the highest user engagement over the 4-year study period, ranging from 800 to 9652 posts and comments. The other popular campaign site, Campaign for Tobacco-Free Kids, showed a different figure compared to the Real Cost and Truth Initiative campaigns. The user engagement was highest in 2021 with an average of 721 (SD 820) comments and an average of 4355 (SD 4011) likes to each post and 523 (SD 500) shares.

Table 2. Sample characteristics of posts and comments by year.
CharacteristicsOverallBehind the Haze VACampaign for Tobacco-Free KidsSmoke Free USThe Real CostTobacco Prevention ToolkitTruth InitiativeCDCa Tobacco Free
Overall

Posts and comments, n (%)28,629/28,629 (100)130 (0.5)6363 (22.2)366 (1.3)6140 (21.4)421 (1.5)13,997 (48.9)1212 (4.2)

Comments, mean (SD)242 (422)10 (14)525 (758)9 (14)255 (201)1 (3)145 (174)6 (9)

Shares, mean (SD)243 (472)4 (8)396 (471)2 (2)570 (758)4 (6)66 (73)18 (21)

Likes, mean (SD)1711 (3127)25 (45)3150 (3882)9 (6)3930 (4128)8 (7)342 (507)25 (27)
2018

Posts and comments, n (%)7700/28,629 (26.9)N/AbN/AN/A5728/7700 (74.4)3/7700 (0.04)1969/7700 (25.6)N/A

Comments, mean (SD)216 (197)N/AN/AN/A272 (197)11 (0)55 (57)N/A

Shares, mean (SD)466 (708)N/AN/AN/A610 (769)14 (0)47 (42)N/A

Likes, mean (SD)3199 (3982)N/AN/AN/A4211 (4134)32 (0)259 (811)N/A
2019

Posts and comments, n (%)11,537/28,629 (40.3)60/11,537 (0.5)1097/11,537 (9.5)N/A199/11,537 (1.7)119/11,537 (1.0)9652/11,537 (83.7)410/11,537 (3.6)

Comments, mean (SD)157 (184)16 (18)24 (19)N/A20 (26)1 (3)184 (189)10 (11)

Shares, mean (SD)78 (86)8 (10)88 (134)N/A12 (11)4 (6)82 (80)28 (31)

Likes, mean (SD)351 (417)20 (21)116 (94)N/A23 (19)10 (8)403 (435)38 (40)
2020

Posts and comments, n (%)3208/28,629 (11.2)56/3208 (1.7)733/3208 (22.8)179/3208 (5.6)127/3208 (4.0)228/3208 (7.1)1576/3208 (49.1)309/3208 (9.6)

Comments, mean (SD)37 (59)6 (8)62 (83)11 (16)11 (8)1 (3)44 (55)4 (6)

Shares, mean (SD)27 (47)1 (2)67 (81)2 (2)12 (10)5 (7)19 (21)14 (10)

Likes, mean (SD)94 (180)36 (63)234 (301)8 (5)18 (14)9 (6)74 (104)19 (12)
2021

Posts and comments, n (%)6184/28,629 (21.6)14/6184 (0.2)4533/6184 (73.3)187/6184 (3.0)86/6184 (1.4)71/6184 (1.1)800/6184 (12.9)493/6184 (8.0)

Comments, mean (SD)541 (765)0 (0)721 (820)8 (11)6 (9)0 (0)90 (146)4 (8)

Shares, mean (SD)387 (484)0 (0)523 (500)2 (2)5 (3)1 (2)17 (19)12 (9)

Likes, mean (SD)3236 (3909)1 (3)4355 (4011)11 (7)8 (4)3 (2)327 (617)17 (12)

aCDC: Centers for Disease Control and Prevention.

bN/A: not applicable.

Associations of Positive vs Negative Framing Strategy with Comment Sentiment

Table 3 shows the effect of the framing strategy of Facebook posts on the sentiments of comments. Compared to neutral posts, positively framed posts generated more positive comments (odds ratio [OR] 1.29, 95% CI 1.13-1.48) as well as negative comments (OR 1.41, 95% CI 1.19-1.66). However, negatively framed posts were more likely to receive negative comments than neutral comments (OR 1.40, 95% CI 1.20-1.65) but not more positive comments. Of note is that the likelihood for negatively framed posts receiving negative comments did not differ from positively framed posts receiving positive comments (OR 1.40 vs OR 1.29, respectively; F1-score=0.98, P=.32).

Table 3. Effect of the framing strategy of Facebook posts on the sentiments of comments.
Framing of postsPositive commentsaNegative commentsa
Negative, aORb (95% CI)c1.12 (0.98-1.28)1.40d (1.20-1.65)
Positive, aOR (95% CI)1.29d (1.13-1.48)1.41d (1.19-1.66)
Observations, N19,83819,670

aThe reference group of the outcome variable was neutral comments.

baOR: adjusted odds ratio.

cEstimates from logistic regressions with the reference group being neutral comments in the outcome variable were clustered by post ID. All the regressions were further controlled for the number of likes, shares, comments, monthly, and yearly fixed effects. Robust 95% CI values were clustered by post ID.

dP<.01.

Associations of Positive vs Negative Framing Strategy with User Engagement

Table 4 depicts the effect of the framing strategy of Facebook posts on user engagement. Although the posts’ framing strategy did not relate to the number of likes, compared to neutral-framed posts, both negative (OR 2.42, 95% CI 1.43-4.09) and positive (OR 1.99, 95% CI 1.18-3.35) posts were more likely to have a higher-than-median number (62) of shares. We also noticed that posts containing a video were more likely to have more shares (OR 4.36, 95% CI 1.76-10.79). Similar findings were seen with regard to the number of comments.

Table 4. Effect of the framing strategy of Facebook posts on user engagement.
Framing strategyMore than the median number of likes (median N=294)More than the median number of shares (median N=62)More than the median number of comments (median N=104)
Negative framinga, aORb (95% CI)c1.86 (0.99-3.50)2.42d (1.43-4.09)2.42d (1.37-4.26)
Positive framinga, aOR (95% CI)1.76 (0.94-3.31)1.99d (1.18-3.35)1.96e (1.12-3.43)
Posts containing a video, aOR (95% CI)1.69 (0.73-3.91)4.36d (1.76-10.79)4.42d (1.83-10.65)
Observations, N28,62928,62928,629

aThe reference group of the outcome variable was neutral comments.

baOR: adjusted odds ratio.

cEstimates from logistic regressions were clustered by post ID. All regressions were further controlled for hourly trend, monthly fixed effects, and yearly fixed effects. Robust 95% CI values were clustered by post ID.

dP<.01.

eP<.05.

Content Analysis of the Top 100 Ranked Posts

Table 5 presents the content analysis and topic modeling of themes observed from the top 100 ranked posts. Of the top 100 most liked, shared, and commented posts, informational (advertisements that present new information) posts (n=31, 31%) played a prominent role, followed by perceived risk (n=13, 13%) and self-affirmation (n=13, 13%) posts, which provided general information or guidelines about the benefits of quitting smoking or not starting smoking or own opinion related to the effects of tobacco usage on society. Fear (n=9, 9%), subjective norm (n=4, 4%), and humor (n=2, 2%) were less used strategies among these posts. Topic modeling provided a more precise image about key phrases or words used in the themes. For instance, we found a high percentage of posts that explained harmful chemicals (n=43, 43%) and different adverse outcomes related to the use of tobacco. Interestingly, the risk to pets (n=17, 17%), which explains the side effects of inhaling secondhand tobacco smoke on pets, attracted high user engagement.

Table 5. Content analysis and topic modeling of themes observed from the top 100 ranked posts.
Theme type and rankingaContent analysisTopic modeling


General themePosts, n (%)Specific topicsPosts, n (%)
Most liked

1Informationalb26 (26)Contain harmful chemicals21 (21)

2Perceived risksc16 (16)Cigarettes are risky14 (14)

3Self-affirmationd10 (10)Cigarettes (e-cigarette) in relation to kids/youth10 (10)

4Perceived benefitse2 (2)Risk to pets6 (6)

5Fearf2 (2)Flavored Juul (e-cigarettes)3 (3)
Most shared

1Informational29 (29)Smoke leading to adverse outcomes23 (23)

2Perceived risks17 (17)Contain harmful chemicals12 (12)

3Self-affirmation12 (12)Cigarette (flavored) use in youth is an epidemic6 (6)

4Subjective normg4 (4)Flavored menthol (e-cigarettes)5 (5)

5Fear4 (4)Risk to pets5 (5)
Most commented

1Informational38 (38)Smoking and health15 (15)

2Self-affirmation17 (17)Contain harmful chemicals10 (10)

3Perceived risks6 (6)Cigarette (flavored) use in youth is an epidemic8 (8)

4Fear3 (3)Risk to pets6 (6)

5Humorh2 (2)Flavored menthol (e-cigarettes)6 (6)

aHere, the ranking was presented from 1 to 5, and the numbers and percentages for each category did not sum up to 100. In addition, there might be overlaps among the most liked, most shared, and most commented posts. However, this did not affect the interpretation of the results.

bInformational: advertisements providing information to the society about the latest news related to tobacco.

cPerceived risks: advertisements providing information about risks associated with the use of tobacco.

dSelf-affirmation: advertisements providing general information or guidelines operating through recursive, self-perpetuating processes, motivating individuals to capitalize on pre-existing resources to facilitate change.

ePerceived benefits: advertisements providing information about advantages after quitting tobacco.

fFear: advertisements that aim to frighten.

gSubjective norm: advertisements providing general information or guidelines for the perception of how much significant others approve of smoking behaviors.

hHumor: advertisements that feature a humorous situation or dialogue.


Principal Findings

In this novel study, we deployed NLP, traditional content analysis, sentiment analysis, and regression analysis to assess factors that influence effective antismoking information dissemination and user engagement. We found that large campaigns from government and nonprofit organizations have more user engagement compared to local and smaller campaigns. Although positive posts tend to receive more positive comments, Facebook (now named META) users, in general, are more responsive to negative posts, leaving more comments (both negative and positive). Our content analysis and topic modeling uncovered that most popular campaign posts tend to be informational (ie, providing new information), where the key phrases include talking about harmful chemicals (43%) as well as the risk to pets (17%).

Large campaigns of government and nonprofit organizations (ie, the Real Cost from the FDA and the Truth Initiative) on Facebook are active, in which campaign posts on average receive more comments, shares, and likes. These flagship programs have dedicated numerous resources to design, promote, and reach their target populations [3,7,19,43]. Traditionally, the program evaluation of antitobacco campaigns on mass media has relied on reach and frequency, and the combination of the two, to measure exposure. However, this approach has significant weakness when applied to digital media platforms compared to traditional media (eg, television ads) [22]. Because each social media platform has its own characteristics, it is difficult to have a standardized measurement. In social media research, likes, shares, and comments can serve as a proxy measurement of user engagement [22]. However, using this click-through indicator sometimes leads to a confounded result. For instance, evidence shows that for any individual antismoking message, Facebook has the highest as well as the lowest click-through rates when compared with Twitter and Instagram. In other words, when estimating message engagement using the click-through rate, the estimates from Facebook would have been averaged out due to its extreme nature and hence biased toward 0 [29]. Although we demonstrated that large and well-designed campaigns are more highly engaged in by users [43], the drastic variations demonstrated the difficulty in accurately measuring user engagement on social media platforms [27].

To better measure user engagement, we constructed sentiment scores and performed sentiment analysis. Our findings revealed that Facebook users, in general, are more responsive to negative posts by leaving more comments (both negative and positive). This provides an important insight for program designers. Previous evidence in experimental psychology research shows that only in the case of a negative message do participants consider a news-labeled message more important than a rumor-labeled or a nonlabeled message [44], a well-known behavior called negativity bias [45,46]. Recent analysis from Twitter also indicated the existence of negativity bias on social media, where researchers found that negative campaign advertising is more likely to mobilize incivility [47]. The fact that ordinary internet and social media users are more responsive to negative messages than positive ones provides an important insight for future program design and message dissemination. Education campaign designers can use such psychological patterns (ie, negativity bias) to increase user engagement and potentially broaden the base of their audience.

To obtain more insight into topics and themes that social media users are more interested in, we conducted content analysis and novel machine learning analysis of topics. Our work showed that the top 100 popular campaign posts tended to be informational (ie, providing new information), where the key phrases/words used included but were not limited to talking about harmful chemicals (43%) and risk to pets (17%). The findings echo previous work on sentiment analysis, which showed that people are more responsive to negative messages and especially information related to overlooked risks. It is intriguing and especially important to observe that social media users pay attention to and engage in posts related to risks involving their pets. About 56.8%-67.0% of Americans have pets (mostly dogs and cats) in their households [48], and many of them consider pets as family members. Previous evidence indicates that 1 of the major reasons smokers quit smoking is to improve the health of their family members [49]. Although traditional academic research defines official family members as husband/wife and children, our results shed light on the fact that pets can be important parts of a household and, thus, a basis for future educational programs to design messaging that is more flexible and relevant to people’s lives. More specifically, messages that are unexpected and counterintuitive but meaningful to their daily life (eg, focusing on all those who might be important to them) could better generate behavioral changes among smokers.

Strengths and Limitations

Although we used a novel approach with a large sample size to determine the factors that may influence effective antismoking information dissemination and user engagement, several limitations are worth noting in this study. First, the data structure was cross sectional, and we were not able to track individuals’ behavior changes (ie, we only observed the comments left by a person but were unable to observe whether they actually cut down, quit, or decided not to start smoking afterward). Measuring the intention to quit on social media, however, serves as a significant goal for future longitudinal studies. Second, we only selected some of the largest and most active educational campaigns, focusing on 1 social media site. Our estimates might not be able to generalize to all antitobacco campaigns and all populations. Third, although the algorithm used for sentiment analysis can decipher many emojis, it is unable to distinguish sarcasm presented in texts or emojis, so readers should be aware and interpret the results with caution, since the estimates could be biased. Fourth, there could be an intercorrelation between posts and comments from the same campaign sites. To address this issue, we specifically clustered our estimates by posts in given campaign sites in our regression models.

Conclusion

Facebook users tend to engage in antitobacco educational campaigns that are framed negatively. The most popular campaign posts are those providing new information, with key phrases and topics discussing harmful chemicals and risks of secondhand smoke for pets. Educational campaign designers can use such insights to increase the reach of antismoking campaigns and promote behavioral changes.

Future research could focus more on 3 specific areas. First, this study was cross sectional. To obtain better causal estimators, a longitudinal design that tracks unique user IDs, seeing how their reaction evolves and whether those reactions can turn into the action of quitting, is desirable. Second, the sample collection in future studies can combine multiple platforms (ie, Twitter, Instagram, YouTube) to obtain a larger data quantity. In addition, a comparison among different platforms can be made to evaluate differences in the user response, which future campaigns can use to nudge the target population. Third, we acknowledge that the current state-of-the-art NLP is BERT. Being a contextual NLP model, BERT could be more effectively used to discrete sarcasm—1 limitation of this study—and generate sentiment scores and topics with improvements in accuracy.

Acknowledgments

The study was funded in part by a research grant from the Virginia Foundation for Healthy Youth. Dr Hong Xue was the principal investigator. The content of the paper is solely the responsibility of the authors and does not necessarily represent the official views of the funders.

Conflicts of Interest

None declared.

Multimedia Appendix 1

Supplementary tables and figure.

DOCX File , 167 KB

  1. US Department of Health and Human Services. The Health Consequences of Smoking—50 Years of Progress: A Report of the Surgeon General (Executive Summary). 2014.   URL: https://www.hhs.gov/sites/default/files/consequences-smoking-exec-summary.pdf [accessed 2023-01-27]
  2. Cornelius ME, Loretan CG, Wang TW, Jamal A, Homa DM. Tobacco product use among adults - United States, 2020. MMWR Morb Mortal Wkly Rep 2022 Mar 18;71(11):397-405 [FREE Full text] [CrossRef] [Medline]
  3. MacMonegle AJ, Smith AA, Duke J, Bennett M, Siegel-Reamer LR, Pitzer L, et al. Effects of a national campaign on youth beliefs and perceptions about electronic cigarettes and smoking. Prev Chronic Dis 2022 Apr 07;19:E16 [FREE Full text] [CrossRef] [Medline]
  4. Zhan Q, Zhang J, Yu PS, Emery S, Xie J. Inferring social influence of anti-tobacco mass media campaign. IEEE Trans Nanobiosci 2017 Jul;16(5):356-366. [CrossRef]
  5. Emery S, Wakefield MA, Terry-McElrath Y, Saffer H, Szczypka G, O'Malley PM, et al. Televised state-sponsored antitobacco advertising and youth smoking beliefs and behavior in the United States, 1999-2000. Arch Pediatr Adolesc Med 2005 Jul 01;159(7):639-645. [CrossRef] [Medline]
  6. Farrelly MC, Davis KC, Haviland ML, Messeri P, Healton CG. Evidence of a dose-response relationship between “truth” antismoking ads and youth smoking prevalence. Am J Public Health 2005 Mar;95(3):425-431. [CrossRef]
  7. Hair EC, Kreslake JM, Rath JM, Pitzer L, Bennett M, Vallone D. Early evidence of the associations between an anti-e-cigarette mass media campaign and e-cigarette knowledge and attitudes: results from a cross-sectional study of youth and young adults. Tob Control 2021 Jul 21:tobaccocontrol-2020-056047. [CrossRef] [Medline]
  8. Hershey JC, Niederdeppe J, Evans WD, Nonnemaker J, Blahut S, Holden D, et al. The theory of "truth": how counterindustry campaigns affect smoking behavior among teens. Health Psychol 2005 Jan;24(1):22-31. [CrossRef] [Medline]
  9. Farrelly MC, Davis KC, Duke J, Messeri P. Sustaining 'truth': changes in youth tobacco attitudes and smoking intentions after 3 years of a national antismoking campaign. Health Educ Res 2009 Feb 17;24(1):42-48. [CrossRef] [Medline]
  10. Duke JC, MacMonegle AJ, Nonnemaker JM, Farrelly MC, Delahanty JC, Zhao X, et al. Impact of the real cost media campaign on youth smoking initiation. Am J Prev Med 2019 Nov;57(5):645-651 [FREE Full text] [CrossRef] [Medline]
  11. Farrelly MC, Taylor NH, Nonnemaker JM, Smith AA, Delahanty JC, Zhao X. "The Real Cost" smokeless campaign: changes in beliefs about smokeless tobacco among rural boys, a longitudinal randomized controlled field trial. BMC Public Health 2021 Dec 14;21(1):2282 [FREE Full text] [CrossRef] [Medline]
  12. Hair EC, Niederdeppe J, Rath JM, Bennett M, Romberg A, Pitzer L, et al. Using aggregate temporal variation in ad awareness to assess the effects of the truth® campaign on youth and young adult smoking behavior. J Health Commun 2020 Mar 03;25(3):223-231. [CrossRef] [Medline]
  13. Moorhead SA, Hazlett DE, Harrison L, Carroll JK, Irwin A, Hoving C. A new dimension of health care: systematic review of the uses, benefits, and limitations of social media for health communication. J Med Internet Res 2013 Apr 23;15(4):e85 [FREE Full text] [CrossRef] [Medline]
  14. Cheng X, Lin S, Wang K, Hong YA, Zhao X, Gress D, et al. Healthfulness assessment of recipes shared on Pinterest: natural language processing and content analysis. J Med Internet Res 2021 Apr 20;23(4):e25757 [FREE Full text] [CrossRef] [Medline]
  15. Centers for Disease Control and Prevention. CDC'S Guide to Writing for Social Media.   URL: https://www.cdc.gov/socialmedia/tools/guidelines/pdf/guidetowritingforsocialmedia.pdf [accessed 2023-01-26]
  16. Jha A, Lin L, Savoia E. The use of social media by state health departments in the US: analyzing health communication through Facebook. J Community Health 2016 Feb 29;41(1):174-179. [CrossRef] [Medline]
  17. Zeller M. Evolving "The Real Cost" campaign to address the rising epidemic of youth e-cigarette use. Am J Prev Med 2019 Feb;56(2 Suppl 1):S76-S78 [FREE Full text] [CrossRef] [Medline]
  18. Vallone D, Cantrell J, Bennett M, Smith A, Rath JM, Xiao H, et al. Evidence of the impact of the truth FinishIt campaign. Nicotine Tob Res 2018 Apr 02;20(5):543-551. [CrossRef] [Medline]
  19. Colston DC, Xie Y, Thrasher JF, Patrick ME, Titus AR, Emery S, et al. Examining truth and state-sponsored media campaigns as a means of decreasing youth smoking and related disparities in the United States. Nicotine Tob Res 2022 Mar 01;24(4):469-477 [FREE Full text] [CrossRef] [Medline]
  20. Colston DC, Xie Y, Thrasher JF, Emery S, Patrick ME, Titus AR, et al. Exploring how exposure to truth and state-sponsored anti-tobacco media campaigns affect smoking disparities among young adults using a national longitudinal dataset, 2002-2017. Int J Environ Res Public Health 2021 Jul 23;18(15):7803 [FREE Full text] [CrossRef] [Medline]
  21. Kornfield R, Smith KC, Szczypka G, Vera L, Emery S. Earned media and public engagement with CDC's "Tips from Former Smokers" campaign: an analysis of online news and blog coverage. J Med Internet Res 2015 Jan 20;17(1):e12 [FREE Full text] [CrossRef] [Medline]
  22. Chan L, O'Hara B, Phongsavan P, Bauman A, Freeman B. Review of evaluation metrics used in digital and traditional tobacco control campaigns. J Med Internet Res 2020 Aug 11;22(8):e17432 [FREE Full text] [CrossRef] [Medline]
  23. Hornik R, Yanovitzky I. Using theory to design evaluations of communication campaigns: the case of the National Youth Anti-Drug Media Campaign. Commun Theory 2003 May;13(2):204-224 [FREE Full text] [CrossRef] [Medline]
  24. Soneji S, Pierce JP, Choi K, Portnoy DB, Margolis KA, Stanton CA, et al. Engagement with online tobacco marketing and associations with tobacco product use among U.S. youth. J Adolesc Health 2017 Jul;61(1):61-69 [FREE Full text] [CrossRef] [Medline]
  25. Majmundar A, Chou C, Cruz TB, Unger JB. Relationship between social media engagement and e-cigarette policy support. Addict Behav Rep 2019 Jun;9:100155 [FREE Full text] [CrossRef] [Medline]
  26. Lin S, Cheng X, Rossheim ME, Gress D, Cuellar AE, Cheskin L, et al. Associations between use of specific social media sites and electronic cigarette use among college students. J Am Coll Health 2021 Sep 01:1-8. [CrossRef] [Medline]
  27. Allem J, Escobedo P, Chu K, Soto DW, Cruz TB, Unger JB. Campaigns and counter campaigns: reactions on Twitter to e-cigarette education. Tob Control 2017 Mar 08;26(2):226-229 [FREE Full text] [CrossRef] [Medline]
  28. Harris JK, Moreland-Russell S, Choucair B, Mansour R, Staub M, Simmons K. Tweeting for and against public health policy: response to the Chicago Department of Public Health's electronic cigarette Twitter campaign. J Med Internet Res 2014 Oct 16;16(10):e238 [FREE Full text] [CrossRef] [Medline]
  29. Reuter K, Wilson ML, Moran M, Le N, Angyan P, Majmundar A, et al. General audience engagement with antismoking public health messages across multiple social media sites: comparative analysis. JMIR Public Health Surveill 2021 Feb 19;7(2):e24429 [FREE Full text] [CrossRef] [Medline]
  30. Devlin J, Chang M, Lee K, Toutanova K. Bert: pre-training of deep bidirectional transformers for language understanding. arXiv 2018:181004805.
  31. Klein AZ, Magge A, O'Connor K, Flores Amaro JI, Weissenbacher D, Gonzalez Hernandez G. Toward using Twitter for tracking covid-19: a natural language processing pipeline and exploratory data set. J Med Internet Res 2021 Jan 22;23(1):e25314 [FREE Full text] [CrossRef] [Medline]
  32. Yu D, Vydiswaran VGV. An assessment of mentions of adverse drug events on social media with natural language processing: model development and analysis. JMIR Med Inform 2022 Sep 28;10(9):e38140 [FREE Full text] [CrossRef] [Medline]
  33. Kevin Z. facebook-scraper 0.2.55.   URL: https://pypi.org/project/facebook-scraper/0.2.55/ [accessed 2023-01-27]
  34. Hutto C, Gilbert E. VADER: a parsimonious rule-based model for sentiment analysis of social media text. 2014 May 16 Presented at: 8th International AAAI Conference on Weblogs and Social Media; June 1-4, 2014; Ann Arbor, MI p. 216-225. [CrossRef]
  35. Onder ME, Zengin O. Quality of healthcare information on YouTube: psoriatic arthritis. Z Rheumatol 2023 Jan 01;82(Suppl 1):30-37 [FREE Full text] [CrossRef] [Medline]
  36. Cohen EL, Shumate MD, Gold A. Original: anti-smoking media campaign messages: theory and practice. Health Commun 2007 Aug 08;22(2):91-102. [CrossRef] [Medline]
  37. Paek HJ, Bae B, Hove T, Yu H. Theories into practice: a content analysis of antismoking websites. Internet Res 2021 Jan 28;21(1):5-25. [CrossRef]
  38. Blei DM, Ng AY, Jordan MI. Latent dirichlet allocation. J Mach Learn Res 2003 Jan;3:993-1022 [FREE Full text]
  39. Sangalang A, Volinsky AC, Liu J, Yang Q, Lee SJ, Gibson LA, et al. Identifying potential campaign themes to prevent youth initiation of e-cigarettes. Am J Prev Med 2019 Feb;56(2 Suppl 1):S65-S75 [FREE Full text] [CrossRef] [Medline]
  40. Wagner W, Bird A, Klein E, Loper E. Natural Language Processing with Python: Analyzing Text with the Natural Language Toolkit. Sebastopol, CA: O'Reilly Media; 2010:421-424.
  41. Srinivasa-Desikan B. Natural Language Processing and Computational Linguistics: A Practical Guide to Text Analysis with Python, Gensim, spaCy, and Keras. Birmingham, UK: Packt Publishing; 2018.
  42. DiMaggio P, Nag M, Blei D. Exploiting affinities between topic modeling and the sociological perspective on culture: application to newspaper coverage of U.S. government arts funding. Poetics 2013 Dec;41(6):570-606. [CrossRef]
  43. Vallone D, Perks S, Pitzer L, Liu M, Kreslake J, Rath J, et al. Evidence of the impact of a national anti-tobacco prevention campaign across demographic subgroups. Health Educ Res 2022 Jan 22;36(4):412-421. [CrossRef] [Medline]
  44. Oh HJ, Lee H. When do people verify and share health rumors on social media? The effects of message importance, health anxiety, and health literacy. J Health Commun 2019 Oct 14;24(11):837-847. [CrossRef] [Medline]
  45. Vaish A, Grossmann T, Woodward A. Not all emotions are created equal: the negativity bias in social-emotional development. Psychol Bull 2008 May;134(3):383-403 [FREE Full text] [CrossRef] [Medline]
  46. Rozin P, Royzman EB. Negativity bias, negativity dominance, and contagion. Pers Soc Psychol Rev 2016 Dec 21;5(4):296-320. [CrossRef]
  47. Hopp T, Vargo CJ. Does negative campaign advertising stimulate uncivil communication on social media? Measuring audience response using big data. Comput Hum Behav 2017 Mar;68:368-377. [CrossRef]
  48. Applebaum JW, Peek CW, Zsembik BA. Examining U.S. pet ownership using the General Social Survey. Soc Sci J 2020 Mar 06:1-10. [CrossRef]
  49. Lee C, Kahende J. Factors associated with successful smoking cessation in the United States, 2000. Am J Public Health 2007 Aug;97(8):1503-1509. [CrossRef]


BERT: bidirectional encoder representations from transformers
CDC: Centers for Disease Control and Prevention
FDA: Food and Drug Administration
NLP: natural language processing
OR: odds ratio


Edited by A Mavragani; submitted 22.09.22; peer-reviewed by M Elbattah, N Sidhu, M Kapsetaki; comments to author 16.11.22; revised version received 10.01.23; accepted 23.01.23; published 13.02.23

Copyright

©Shuo-Yu Lin, Xiaolu Cheng, Jun Zhang, Jaya Sindhu Yannam, Andrew J Barnes, J Randy Koch, Rashelle Hayes, Gilbert Gimm, Xiaoquan Zhao, Hemant Purohit, Hong Xue. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 13.02.2023.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.