The social-networking giant that owns Facebook and Instagram will report quarterly earnings after Wednesday's market close.