It's a facet of marketing, sure - but you're marketing your platform/API/library/company to developers, not the general public. It doesn't really matter whether they're currently using your system, since they might be in the near future.
The implication is that by having a large ecosystem with lots of developers, the company will benefit, but in this case, FB appears to have shot themselves in the foot.