Rising costs a concern for Facebook’s outlook