The company, whose work force grew despite struggles to lift its user base, also said that revenue for the third quarter would be at or above forecasts.