Facebook denies claims it is spying on emotional state of young users

But the social media giant admits it has done research on the subject to better understand how people express themselves on Facebook.