Facebook reports record revenue in third quarter