Social media may be able to stop the spread of the human immunodeficiency virus (HIV), according to a recent study.

Researchers from the University of California-Los Angeles found that in addition to providing other potential benefits to public health, all of those tweets and Facebook posts could help curb the spread of HIV.

"We know that mining social media will have huge potential benefits for many areas of medicine in the future, but we're still in the early stages of testing how powerful these technologies will be," researcher Sean Young said in a statement.

Young said that with the right tools in place, social media offers a rich source of psychological and health-related data generated in an environment in which people are often willing to share freely.

His recent work on Behavioral Insights on Big Data (BIBD) for HIV offers the tantalizing possibility that insights gleaned from social media could be used to help governments, public health departments, hospitals, and caretakers monitor people's health behaviors "to know where, when, and how we might be able to prevent HIV transmission."

Young details a social-media-based intervention in which African American and Latino men who have sex with men shared a tremendous amount of personal information through social media, including when or whether they had "come out," as well as experiences of homelessness and stigmatization. What's more, they found that people who discussed HIV prevention topics on social media were more than twice as likely to later request an HIV test.

In the context of HIV prevention, tweets have also been shown to identify people who are currently or soon to engage in sexual- or drug-related risk behaviors. Those tweets can be mapped to particular locations and related to actual HIV trends.

Updated infrastructure and sophisticated toolkits to handle all of those data is needed, Young said, noting that there are about 500 million communications sent every day on Twitter alone. He and a team of University of California computer scientists are working to meet that challenge now.

Although privacy concerns about such uses of social media shouldn't be ignored, Young said there is evidence that people have already begun to accept such uses of social media, even by corporations looking to boost profits.

"Since people are already getting used to the fact that corporations are doing this, we should at least support public health researchers in using these same methods to try and improve our health and well being," he said. "We're already seeing increased support from patients and public health departments."

Young's results are detailed in the Cell Press Journal Trends in Microbiology.