How can I launch FaceBook Messenger (if installed) with a compose Windows to a specific FB ID.
If messenger is not installed, can we launch FaceBook app and have the compose Windows open to a specific FB ID.
In the rare instance if no Facebook apps are installed, can we launch mobile Safari with the compose window?
sample ,It's work for me in ios
let msgUrl = URL(string: "http://m.me/{PAGE_NAME}")
UIApplication.shared.openURL(msgUrl)
reference in document of dev facebook : https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links/