That compares with earnings of $240 million, or 11 cents per share, in the second quarter a year ago.
Revenue grew 32% to $1.18 billion from $895 million a year ago.
Adjusted earnings of $295 million, or 12 cents per share, matched Wall Street's expectations.
Analysts, on average had expected slightly lower revenue of $1.16 billion, according to FactSet.
Facebook's stock fell 5.5 percent to $25.37 in after-hours trading.