It would have been more effective to require Meta (and all other messaging companies) to implement an open protocol or open source theirs, so that people can freely write alternative clients free of malware.
Interoperability by agreement between legitimate messaging services, using custom APIs is the only realistic and secure way to accomplish this.