Facebook users over 35 showed the biggest mood improvements, while among Instagram users, the 18-to-24 group benefited most.