Hostname: page-component-6766d58669-76mfw Total loading time: 0 Render date: 2026-05-15T06:04:04.246Z Has data issue: false hasContentIssue false

Understanding social media discourse on antidepressants: unsupervised and sentiment analysis using X

Published online by Cambridge University Press:  05 March 2025

Juan Pablo Chart-Pascual
Affiliation:
Psychiatry Department, Osakidetza Basque Health Service, Araba University Hospital, Vitoria-Gasteiz, Spain Bioaraba Research Institute, Vitoria-Gasteiz, Spain University of the Basque Country UPV/EHU, Vitoria-Gasteiz, Spain Centro de Investigación en Red de Salud Mental (CIBERSAM), Madrid, Spain
Javier Goena
Affiliation:
Psychiatry Department, Basurto University Hospital, Osakidetza Basque Health Service, Bilbao, Spain Biobizkaia Health Research Institute, OSI Bilbao-Basurto, Bilbao, Spain
Francisco Lara
Affiliation:
Department of Signal Theory and Communications and Telematic Systems and Computing, School of Telecommunications Engineering, Rey Juan Carlos University, Madrid, Spain
María Montero Torres
Affiliation:
Department of Medicine and Medical Specialties, University of Alcala, Alcalá de Henares, Spain
Julen Marin Napal
Affiliation:
Psychiatry Department, Osakidetza Basque Health Service, Araba University Hospital, Vitoria-Gasteiz, Spain Bioaraba Research Institute, Vitoria-Gasteiz, Spain
Rodrigo Muñoz
Affiliation:
Department of Psychiatry and Mental Health, Hospital Universitario Infanta Leonor, Madrid Spain
Cielo García Montero
Affiliation:
Ramón y Cajal Institute of Sanitary Research (IRYCIS), Madrid, Spain Immune System Diseases-Rheumatology and Internal Medicine Service, Centro de Investigación Biomédica en Red Enfermedades Hepaticas y Digestivas, University Hospital Príncipe de Asturias, Alcala de Henares, Spain
Oscar Fraile Martínez
Affiliation:
Ramón y Cajal Institute of Sanitary Research (IRYCIS), Madrid, Spain Immune System Diseases-Rheumatology and Internal Medicine Service, Centro de Investigación Biomédica en Red Enfermedades Hepaticas y Digestivas, University Hospital Príncipe de Asturias, Alcala de Henares, Spain
Miguel Ángel Ortega
Affiliation:
Department of Medicine and Medical Specialties, University of Alcala, Alcalá de Henares, Spain Ramón y Cajal Institute of Sanitary Research (IRYCIS), Madrid, Spain Immune System Diseases-Rheumatology and Internal Medicine Service, Centro de Investigación Biomédica en Red Enfermedades Hepaticas y Digestivas, University Hospital Príncipe de Asturias, Alcala de Henares, Spain
Gonzalo Salazar de Pablo
Affiliation:
Department of Child and Adolescent Psychiatry, Institute of Psychiatry, Psychology & Neuroscience, King’s College London, London, UK Child and Adolescent Mental Health Services, South London and Maudsley NHS Foundation Trust, London, UK Department of Child and Adolescent Psychiatry, Institute of Psychiatry and Mental Health. Hospital General Universitario Gregorio Marañón School of Medicine, Universidad Complutense, IiSGM, CIBERSAM, Madrid, Spain
Ana González Pinto
Affiliation:
Psychiatry Department, Osakidetza Basque Health Service, Araba University Hospital, Vitoria-Gasteiz, Spain Bioaraba Research Institute, Vitoria-Gasteiz, Spain University of the Basque Country UPV/EHU, Vitoria-Gasteiz, Spain Centro de Investigación en Red de Salud Mental (CIBERSAM), Madrid, Spain
Javier Quintero
Affiliation:
Department of Psychiatry and Mental Health, Hospital Universitario Infanta Leonor, Madrid Spain Department of Legal and Psychiatry, Complutense University, Madrid, Spain
Melchor Alvarez-Mon
Affiliation:
Department of Medicine and Medical Specialties, University of Alcala, Alcalá de Henares, Spain Ramón y Cajal Institute of Sanitary Research (IRYCIS), Madrid, Spain Immune System Diseases-Rheumatology and Internal Medicine Service, Centro de Investigación Biomédica en Red Enfermedades Hepaticas y Digestivas, University Hospital Príncipe de Asturias, Alcala de Henares, Spain
Miguel Ángel Álvarez-Mon*
Affiliation:
Centro de Investigación en Red de Salud Mental (CIBERSAM), Madrid, Spain Department of Medicine and Medical Specialties, University of Alcala, Alcalá de Henares, Spain Department of Psychiatry and Mental Health, Hospital Universitario Infanta Leonor, Madrid Spain Ramón y Cajal Institute of Sanitary Research (IRYCIS), Madrid, Spain
*
Corresponding author: Miguel Ángel Álvarez-Mon; Email: miguelangel.alvarezm@uah.es

Abstract

Background

Antidepressants are essential in managing depression, including treatment-resistant cases. Public perceptions of these medications, shaped by social media platforms like X (formerly Twitter), can influence treatment adherence and outcomes. This study explores public attitudes toward antidepressants through sentiment and topic modeling analysis of tweets in English and Spanish from 2007 to 2022.

Methods

Tweets mentioning antidepressants approved for depression were collected. The analysis focused on selective serotonin reuptake inhibitors (SSRIs) and glutamatergic drugs. Sentiment analysis and topic modeling were conducted to identify trends, concerns, and emotions in discussions across both languages.

Results

A total of 1,448,674 tweets were analyzed (1,013,128 in English and 435,546 in Spanish). SSRIs were the most mentioned antidepressants (27.9% in English, 58.91% in Spanish). Pricing and availability were key concerns in English tweets, while Spanish tweets highlighted availability, efficacy, and sexual side effects. Glutamatergic drugs, especially esketamine, gained attention (15.61% in English, 25.23% in Spanish), evoking emotions such as fear, sadness, and anger. Temporal analysis showed significant increases in discussions, with peaks in 2012 and 2021 for SSRIs in Spanish, and exponential growth from 2018 to 2021 for glutamatergic drugs. Emotional tones varied across languages, reflecting cultural differences.

Conclusions

Social media platforms like X provide valuable insights into public perceptions of antidepressants, highlighting cultural variations in attitudes. Understanding these perceptions can help clinicians address concerns and misconceptions, fostering informed treatment decisions. The limitations of social media data call for careful interpretation, emphasizing the need for continued research to improve pharmacovigilance and public health strategies.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of European Psychiatric Association
Figure 0

Figure 1. Number of tweets in English per year per drug. Each antidepressant group has its own color represented in left superior corner of the panel.

Figure 1

Figure 2. Number of tweets in Spanish per year per drug. Each antidepressant group has its own color represented in left superior corner of the panel.

Figure 2

Figure 3. Number of tweets per topic in SSRI in English. Each topic has its own color represented in left superior corner of the panel.

Figure 3

Figure 4. Number of tweets per topic in SSRI in Spanish. Each topic has its own color represented in left superior corner of the panel.

Figure 4

Figure 5. Number of tweets per topic in glutamatergic drugs in English. Each topic has its own color represented in left superior corner of the panel.

Figure 5

Figure 6. Number of tweets per topic in glutamatergic drugs in Spanish. Each topic has its own color represented in right superior corner of the panel.

Figure 6

Figure 7. Temporal evolution of the number of tweets related to SSRIs, per year and topic, in English (superior panel) and Spanish (bottom panel).

Figure 7

Figure 8. Temporal evolution of the number of tweets related to glutamatergic drugs, per year and topic, in English (superior panel) and Spanish (bottom panel).

Figure 8

Figure 9. Sentiment analysis of the number of tweets per year and topic in English (A) and Spanish (B) tweets from SSRIs.

Figure 9

Figure 10. Sentiment analysis of the number of tweets per year and topic in English (A) and Spanish (B) tweets from glutamatergic drugs.

Supplementary material: File

Chart-Pascual et al. supplementary material

Chart-Pascual et al. supplementary material
Download Chart-Pascual et al. supplementary material(File)
File 129.7 KB
Submit a response

Comments

No Comments have been published for this article.