Facebook allows outsiders to add functionality to the site but reserves the right to change that policy at any time, to charge a fee for applications, or to de-emphasize or eliminate apps that court controversy or that they simply don't like.
Despite outsiders being invited to write software, the iPhone thus remains tightly tethered to its vendor - the way that the Kindle is controlled by Amazon.
Being closed to outsiders made the iPhone reliable and predictable.