By creating an open platform, Facebook has made the big picture decision that encouraging third party developers to build applications leveraging their social graph is beneficial to the company's bottom line, allowing them to be embedded in places where they otherwise wouldn't be.
This is where utilizing a product company's platform can be very morally dicey. They offer a platform for others to build on, because it raises the value of their company by making it more pervasive. They also build their own products on top of their platform.
Which takes precedence over the other? My view is this: in the long run, the developer platform is more valuable than any product Facebook can build themselves. The short term thinking that is demonstrated here leads to damaging the trust that developers have in the Facebook platform.
It's one thing to use Facebook for authentication. It's easy and takes little investment. However, building a REAL product on the platform is a risk. If Facebook behaves like this, they show that it's a risk NOT worth taking, and they devalue their own platform, putting short term gain (product) over long term gain (platform).