Social networking giant Facebook, Inc. said Wednesday after the markets closed that its second quarter profit fell 9% from last year, as higher costs and expenses more than offset a 39% increase in revenue. However, the company’s quarterly earnings per share, excluding items, came in above analysts’ expectations as did its quarterly revenue.