Text this: The cause and cure of social unhappiness