I’m creating an iOS app that should open a Fb person or web page profile on the Fb App (if put in) from my app. I’ve the general public profile URL of the person or web page, equivalent to https://www.fb.com/nirav.parmar.7169709. How can I take advantage of a customized URL scheme to launch the Fb App and present the profile? If the Fb App will not be put in, I wish to open the profile in Safari as an alternative.
I already tried this fashion nevertheless it’s not work for me:
-
fb://profile/nirav.parmar.7169709 (Not work)
-
fb://profile?username=nirav.parmar.7169709 (Not Work)
-
fb://profile/100004929307564 (labored – however the way to discover user_id from this url “https://www.fb.com/nirav.parmar.7169709”)