I also immediately thought about the MSN customization days! Is fb the customizable platform of this time?
For MSN it was also non-officially supported and it grew quite a community of devs who tinkered around things like this, would be interesting to see a renaissance of such projects.
You could have it open a window when someone started typing to you, before they sent their message.