Facebook parent Meta posts 1st revenue gain in 4 quarters