EXHIBIT 23.1
CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the reference to our firm under the caption “Experts” in the Registration Statement (Form S-3) and related Prospectus of Facebook, Inc. for the registration of shares of its Class A Common Stock and to the incorporation by reference therein of our report dated February 1, 2013, with respect to the consolidated financial statements of Facebook, Inc., included in its Annual Report (Form 10-K) for the year ended December 31, 2012, filed with the Securities and Exchange Commission.
/s/ Ernst & Young LLP
San Francisco, California
December 18, 2013