Facebook did have a budding developer ecosystem back in late 2000s with game developers and app developers using Facebook's platform to build their businesses. While it did have tons of privacy issues and data leaks, they could have built it into a sustainable ecosystem instead of making endless changes forcing developers to leave their ecosystem.