"CERTIFICATE OF INCORPORATION OF FACEBOOK, INC. ARTICLE III: The purpose of the Corporation is to engage in any lawful act or activity for which corporations may be organized under the Delaware General Corporation Law."
https://www.sec.gov/Archives/edgar/data/1326801/000119312512...
Facebook is no different than any other Delaware corporation. Facebook exists to do anything and everything that will profit its shareholders. Everything else is just PR.