Unless Facebook itself actually issued stock at the new price, Facebook did not get paid. It were the Facebook shareholders that got paid.
Really, it shows that the market valued Parse much more than the cash it cost Facebook. If Parse was bought with stock instead of cash, that's almost cooler. Since it allowed Parse to capture more of the surplus value they created. (Since the stock price popped).