Unsure of the terms of the deal, but maybe this was simply a talent acquisition plus strategic purchase? Maybe the cost wasn't that high. I am sure an offer to work at Facebook and integrate your product into the FB platform has some intangible appeal.