Facebook confirmed that it is opening its messaging service to third-party developers, allowing them to add their own functionality. It effectively complements a four-year-old program with a "lightweight" chat app, which turns itself into a complete "platform" separate from the main Facebook site.