Is there a way to have the Facebook app open directly from tapping a link within Glide rather than the link opening in a browser and prompting the user to sign in to Facebook first?
This happens automatically for Instagram and Twitter, but I’m trying to figure out if I’m constructing the wrong URL for Facebook. Currently I’m constructing it like this: Protocol: “https”, Host: “facebook.com”, “Facebook username”
When I try to search this generally online, everything seems to talk about changing a setting within your own Facebook app, but is there a way to force this to happen regardless of how an individual user has their Facebook settings set?
*Edit: I noticed if the link is for a Group page, it does automatically launch the Facebook app. The only difference here is Host: “Redirecting...”.
At the time, I don’t think any of us had the ability, or had discovered the ability to parse apart the user agent information. Now that it’s possible, the above solution could be combined with the below solution. (Android and IOS require different links to open each respective app).
Am I correct in understanding that you would need either the Page ID or Profile ID in order for this to work? Or is there a different link other than “fb://profile/PAGEID or fb://page/PAGEID” that uses the Username? I already have all of the Usernames, but I think I would have to go and manually look up all of the Page IDs/Profile IDs.
I’m able to make it work, but my issue now is that I already have 2500+ organizations that I have Facebook usernames for, but not page/profile IDs. So ideally I wouldn’t have to manually go find the IDs for all of these (I know how to get them, but the only way I know how to do it is manually and one at a time).