Meta Plaforms Inc reported better-than-expected sales for the second quarter, offering evidence that the company’s investments…