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?
The URL scheme is fb-messenger://user-thread/{user-id}
. I just build my app with fb-messenger
URL scheme as Viewer and trapped the URL on the UIApplication
delegate. The user-id
parameter is long integer one, as in https://developers.facebook.com/docs/graph-api/reference/user/