Published on 07.11.16 in Vol 1, No 2 (2016): Jul-Dec
Use of Social Media in the Diabetes Community: An Exploratory Analysis of Diabetes-Related Tweets
Background: Use of social media is becoming ubiquitous, and disease-related communities are forming online, including communities of interest around diabetes.
Objective: Our objective was to examine diabetes-related participation on Twitter by describing the frequency and timing of diabetes-related tweets, the geography of tweets, and the types of participants over a 2-year sample of 10% of all tweets.
Methods: We identified tweets with diabetes-related search terms and hashtags in a dataset of 29.6 billion tweets for the years 2013 and 2014 and extracted the text, time, location, retweet, and user information. We assessed the frequencies of tweets used across different search terms and hashtags by month and day of week and, for tweets that provided location information, by country. We also performed these analyses for a subset of tweets that used the hashtag #dsma, a social media advocacy community focused on diabetes. Random samples of user profiles in the 2 groups were also drawn and reviewed to understand the types of stakeholders participating online.
Results: We found 1,368,575 diabetes-related tweets based on diabetes-related terms and hashtags. There was a seasonality to tweets; a higher proportion occurred during the month of November, which is when World Diabetes Day occurs. The subset of tweets with the #dsma were most frequent on Thursdays (coordinated universal time), which is consistent with the timing of a weekly chat organized by this online community. Approximately 2% of tweets carried geolocation information and were most prominent in the United States (on the east and west coasts), followed by Indonesia and the United Kingdom. For the user profiles randomly selected among overall tweets, we could not identify a relationship to diabetes for the majority of users; for the profiles using the #dsma hashtag, we found that patients with type 1 diabetes and their caregivers represented the largest proportion of individuals.
Conclusions: Twitter is increasingly becoming a space for online conversations about diabetes. Further qualitative and quantitative content analysis is needed to understand the nature and purpose of these conversations.
JMIR Diabetes 2016;1(2):e4
Use of social media is becoming ubiquitous among US individuals; according to the Pew Research Center, at least 76% of adults who are Internet users use some form of social networking site such as Facebook or Twitter . Surveys have shown that 7 out of 10 US adults with chronic diseases are (1) looking online for health information about medical problems, treatments, and drugs; (2) consulting online reviews about treatments; and (3) learning about others’ personal health experiences [ ].
Although Facebook is still the most popular social media channel, use of additional social media channels in the US population is increasing; for example, in 2014 an estimated 23% of online adults reported that they use Twitter . In particular, patients and caregivers with diabetes started to congregate and participate in online conversations about diabetes on Twitter [ ], engage in virtual communication and sharing, and find peer support online.
There is growing interest in studying disease-related communities of interest online. Studies in the scientific literature have analyzed content of a small number of tweets within a short time period; for example, studies have looked at the use of Twitter by local health departments for dissemination of information about diabetes [, ] and have performed content analysis and user profile classification with hundreds of diabetes conversations on Twitter [ , ], but we are unaware of research studies that have formally tried to perform large-scale evaluation of Twitter metrics among communities of interest focused on diabetes.
Our objective was to examine diabetes-related participation on Twitter by describing the frequency and timing of diabetes-related tweets, the geography of tweets, and the types of participants over a 2-year sample of 10% of all tweets. The results will help us better understand the extent to which patients, caregivers, and medical practitioners participate in social media discussions related to diabetes.
We used a dataset that contains 29.6 billion tweets obtained during 2013 and 2014 collected through the Twitter stream application programming interface (API) with Gardenhose access, which collects 10% of all public communications on Twitter (secured through a formal agreement with the University of Michigan School of Information). We identified tweets with diabetes-related search terms and hashtags based on suggestions from providers and patients in the diabetes community using the following query terms and hashtags: “glucose,” “blood glucose,” “diabetes,” “insulin pump,” “insulin,” “#diabetes,” “#t1d,” “#type1diabetes,” “#type1,” “#t2d,” “#type2diabetes,” “#type2,” “#bloodsugar,” “#dsma” (Diabetes Social Media Advocacy is an online advocacy group which holds a weekly “tweetchat” to provide peer support to individuals with diabetes), “#doc” (diabetes online community), “#bgnow” (blood glucose now, in which individuals share their blood sugars), “#wearenotwaiting” (a phrase coined by the diabetes community related to the need for rapid access to technology solutions), “#showmeyourpump” (a tweet campaign that occurred when a Miss America contestant decided to wear her insulin pump visibly), “CWD2014” (children with diabetes, a diabetes conference for children and families with diabetes), “dblog”(diabetes blog), and “diyps” (a do-it-yourself artificial pancreas project).
For each tweet retrieved, we extracted its text content, the username of the tweet, the tweet’s posted date and time, the geolocation information of the tweet if available, and whether the tweet is a retweet. We assessed the frequencies with which the retrieved tweets are used across different terms and hashtags. With the posted date information of each tweet, we examined the trend of volume of extracted tweets in each month. We conducted an analysis with 2 subsets: all users with a diabetes-related tweet and users who posted at least once with the #dsma hashtag.
User Identities Analysis
We then examined the identities of two subsets of users. We randomly sampled 500 users from the entire dataset. There were 1424 individuals who had tweeted at least once with the hashtag #dsma; we chose to focus on a smaller subset, those who had tweeted at least 3 times with hashtag #dsma (n=416), because it would identify more active members of the community and it represented a sample similar in number to our overall diabetes sample. A medical student reviewed each of the Twitter profiles to identify individuals’ relationship to diabetes, which was categorized into one or more of the following 15 categories: physician, nurse, dietitian, diabetes educator, researcher, individual with type 1 diabetes, individual with type 2 diabetes, individual with diabetes not specified, caregiver/parent/guardian of an individual with diabetes, spouse/significant other of an individual with diabetes, friend of an individual with diabetes, individual who works with a diabetes-related company, health care organization, diabetes medical/device company, and other/unknown. A second individual reviewed another 50 randomly selected profiles for both subsets of users. There was interrater agreement on 44 of the 50 categorizations for the all-user subset. The Cohen kappa was .58. In the subset of #dsma users, there was interrater agreement on 40 of the 50. The Cohen kappa was .71.
Of the 29.6 billion tweets in our entire dataset, there were 1,368,575 diabetes-related tweets, based on the selected diabetes terms and hashtags. One-third of these tweets (454,261) were retweets.
shows the number and percentage of tweets and the number and percentage of users tweeting with specific search terms or hashtags in our dataset. The most common tweets were the terms including the term or hashtag diabetes, followed by insulin and glucose, and then finally references to the type of diabetes (ie, type 1 or type 2 diabetes).
|Diabetes||1,200,268 (87.7)||748,001 (89.6)|
|#Diabetes||165,868 (12.1)||67,229 (8.1)|
|Insulin||83,820 (6.1)||59,728 (7.2)|
|Glucose||60,033 (4.4)||46,357 (5.6)|
|#Doc||27,616 (2.0)||16,457 (2.0)|
|#Dsma||11,757 (0.9)||1424 (0.2)|
|Blood glucose||10,212 (0.7)||6904 (0.8)|
|#T1d||9040 (0.7)||3835 (0.5)|
|#Dblog||5711 (0.4)||1132 (0.1)|
|Insulin pump||5179 (0.4)||4061 (0.5)|
|#Type1||3211 (0.2)||1800 (0.2)|
|#Type2||2905 (0.2)||1468 (0.2)|
|#Bgnow||2470 (0.2)||753 (0.1)|
|#Type1diabetes||1812 (0.1)||1248 (0.1)|
|#Bloodsugar||1718 (0.1)||1213 (0.1)|
|#Type2diabetes||1388 (0.1)||1035 (0.1)|
|#T2d||935 (0.1)||452 (0.1)|
|#Showmeyourpump||932 (0.1)||645 (0.1)|
|#Wearenotwaiting||327 (<0.1)||183 (<0.1)|
|#Diyps||132 (<0.1)||50 (<0.1)|
|#Cwd2014||7 (<0.1)||7 (<0.1)|
shows the monthly breakdown of diabetes-related tweets over the 2-year period. The peak occurred in November 2013 on World Diabetes Day, with over 70,000 diabetes-related tweets (representing 10% of tweets). shows the total number of tweets for community using the #dsma hashtag. Both figures show increasing trends of the tweets volume.
shows the monthly distributions of diabetes-related tweets, which were most frequent in November, likely attributable to World Diabetes Day. For tweets using the #dsma hashtag, shows January had the largest proportion. and show that the proportion of diabetes-related tweets was higher during the weekdays compared with the weekend days; mean tweets per weekday were significantly higher than for weekends (2011 per weekday vs 1684 per weekend, P<.001). In contrast, the majority of #dsma tweets were posted on Thursdays (Twitter API returns coordinated universal time) due to the fact that there is an online chat organized by a community of individuals with diabetes and caregivers that uses the #dsma hashtag for participating in the conversations at 9 PM eastern standard time every Wednesday night.
Approximately 2% (26,763) of tweets carried geolocation information.shows the number of geotagged tweets for countries with at least 100 geotagged tweets, which would likely bias toward English-speaking countries because of our query terms. The United States ranked first, followed by Indonesia, United Kingdom, Venezuela, and Mexico. displays the locations of the geotagged tweets on a world map. For the United States, the participation appeared to be located particularly on the east coast and midwest with pockets on the west coast.
Of the 500 users randomly selected from the diabetes-related tweets, 471 of them were categorized as other/unknown.shows the breakdown of categories. There were just 29 users for whom an identity could be assigned, including 12 health care organizations and a handful of patients with type 1 or type 2 diabetes and health care providers. In contrast, only 15.6% of #dsma members’ identities were either not related to diabetes or unknown based on their Twitter profile information. The majority of individuals tweeting with #dsma had type 1 or type 2 diabetes or were caregivers. A very small percentage of individuals were health care professionals, and there was less company and health care stakeholder participation than with the general diabetes-related tweets.
|Country||Number of geotagged diabetes tweets|
|Users’ relationship to diabetes||Users who have posted diabetes-related tweets |
|Users who have posted #dsma tweets |
|Individual with type 1 diabetes||2 (0.4)||220 (52.9)|
|Individual with type 2 diabetes||1 (0.2)||26 (6.3)|
|Individual with diabetes (type not specified)||4 (0.8)||39 (9.4)|
|Spouse/significant other||0||3 (0.7)|
|Nurse||2 (0.4)||9 (2.2)|
|Physician||3 (0.6)||6 (1.4)|
|Diabetes educator||0||11 (2.6)|
|Dietician||2 (0.4)||2 (0.5)|
|Researcher||2 (0.4)||4 (1.0)|
|Diabetes company||1 (0.2)||7 (1.7)|
|Diabetes company employee||0||22 (5.3)|
|Health care organization||12 (2.4)||6 (1.4)|
|Other/unknown||471 (94.2)||65 (15.6)|
We describe the frequency, timing, and location of diabetes-related tweets on Twitter using a large comprehensive dataset of 10% of all tweets over a 2-year period. The large and increasing volume of tweets demonstrates that social media is a growing and robust medium where communications related to diabetes are taking place; in addition, the location of tweets indicates that they are happening at a global scale.
In terms of participants on Twitter, we did not identify clear diabetes stakeholders from our random sampling of users from the pool of all diabetes-related tweets. However, when we focused on users from the #dsma community, we did find a significant proportion of patients with type 1 diabetes represented, demonstrating that they are using the medium and hashtag to communicate with a larger virtual community about diabetes during their weekly tweetchat. We found that a very small percentage of participants were health care providers, which may be consistent with the fact that #dsma is a patient-focused chat but may also underscore the fact that physicians are reluctant participants or prefer to hide their physician or health care provider identities with regard to social media .
Strengths and Limitations
Strengths of our study include the ability to extract 10% of all tweets from the Twitter database over an extended time period, the use of geolocated data, and the examination of the identity of participants who are tweeting. However, we must also acknowledge limitations of our study. Because we only had access to a 10% sample, we could not perform social network analysis of the diabetes community on Twitter. We also recognize that there may be limitations with using hashtags to define a community.
Twitter is increasingly becoming a space for online conversations about diabetes. Further qualitative and quantitative content analysis is needed to understand the nature and purpose of these conversations.
YL and JL conceived and led the study, analyzed the data, and drafted the manuscript. QM, DAH, and KZ made intellectual contributions to the study design and assisted in drafting the manuscript. All authors read, revised, and approved the final manuscript.
Conflicts of Interest
- Perrin A. Social media usage 2005-2015. Washington, DC: Pew Internet and American Life Project. URL: http://www.pewinternet.org/files/2015/10/PI_2015-10-08_Social-Networking-Usage-2005-2015_FINAL.pdf [accessed 2016-04-16] [WebCite Cache]
- Fox S, Duggan M. The diagnosis difference. Washington, DC: Pew Internet and American Life Project; 2013. URL: http://www.pewinternet.org/~/media//Files/Reports/2013/PewResearch_DiagnosisDifference.pdf [accessed 2015-10-07] [WebCite Cache]
- Duggan M, Ellison NB, Lampe C, Lenhart A, Madden M. Demographics of key social networking platforms. Washington, DC: Pew Internet and American Life Project; 2015. URL: http://www.pewinternet.org/files/2015/01/PI_SocialMediaUpdate20144.pdf [accessed 2015-10-07] [WebCite Cache]
- Viera G. Getting to know the diabetes online community. URL: http://diabetesadvocates.org/getting-to-know-the-diabetes-online-community-doc-2/ [accessed 2016-05-11] [WebCite Cache]
- Collins SE, Lewis DM. Social media made easy: guiding patients to credible online health information and engagement resources. Clin Diabetes 2013 Jul 16;31(3):137-141. [CrossRef]
- Harris JK, Mueller NL, Snider D, Haire-Joshu D. Local health department use of Twitter to disseminate diabetes information, United States. Prev Chronic Dis 2013;10 [FREE Full text] [CrossRef] [Medline]
- Harris JK, Mart A, Moreland-Russell S, Caburnay CA. Diabetes topics associated with engagement on Twitter. Prev Chronic Dis 2015;12 [FREE Full text] [CrossRef] [Medline]
- Gabarron E, Makhlysheva A, Marco L. Type 1 diabetes in Twitter: who all listen to? Stud Health Technol Inform 2015;216:972. [Medline]
- DeCamp M, Cunningham AM. Social media: the way forward or a waste of time for physicians? J R Coll Physicians Edinb 2013;43(4):318-322. [CrossRef] [Medline]
|API: application programming interface|
|DSMA: Diabetes Social Media Advocacy|
Edited by G Eysenbach; submitted 23.06.16; peer-reviewed by E Gabarron, T Oser; comments to author 10.10.16; revised version received 21.10.16; accepted 22.10.16; published 07.11.16
©Yang Liu, Qiaozhu Mei, David A Hanauer, Kai Zheng, Joyce M Lee. Originally published in JMIR Diabetes (http://diabetes.jmir.org), 07.11.2016.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR mhealth and uhealth, is properly cited. The complete bibliographic information, a link to the original publication on http://diabetes.jmir.org/, as well as this copyright and license information must be included.