For one week in 2012 Facebook tampered with the algorithm used to place posts into user news feeds to study how this affected their mood.
The study, conducted by researchers affiliated with Facebook, Cornell University, and the University of California at San Francisco, appeared in the June 17 edition of the Proceedings of the National Academy of Sciences.
The researchers wanted to see if the number of positive, or negative, words in messages they read affected whether users then posted positive or negative content in their status updates.
Indeed, after the exposure the manipulated users began to use negative or positive words in their updates depending on what they were exposed to.
Results of the study spread when the online magazine Slate and The Atlantic website wrote about it yesterday.
"Emotional states can be transferred to others via emotional contagion, leading people to experience the same emotions without their awareness," the study authors wrote.
"These results indicate that emotions expressed by others on Facebook influence our own emotions, constituting experimental evidence for massive-scale contagion via social networks."
While other studies have used metadata to study trends, this appears to be unique because it manipulates the data to see if there is a reaction.
The study was legal according to Facebook's rules -- but was it ethical
"#Facebook manipulated user feeds for massive psych experiment... Yeah, time to close FB acct!" read one Twitter posting.
Other tweets used words like "super disturbing," "creepy" and "evil," as well as angry expletives, to describe the experiment.
Susan Fiske, a Princeton University professor who edited the report for publication, told The Atlantic that she was concerned about the research and contacted the authors.