Facebook revenue, profit beat forecasts; shares hit all-time high