A framework for analyzing and detracting negative emotional contagion in online social networks