The results were slightly ahead of analysts' expectations. Second quarter revenues rose 32% to $1.18bn (£751m) and it reported a $157m loss.
But concerns remain Facebook is yet to work out how to make money from people using the site on mobile devices.