- Home /
[FIXED]Application.URL woes
Hello and thank you for your time in this issue.
I am creating an app that allows you to log in via the native facebook app if you have it installed. This works all fine and dandy. However, I have a link that leads to the facebook page for the app and this is where the issue comes into play.
When not logging in via the native app the Application.URL("https://www.facebook.com/myGroup") works fine. However when the user logs in via the native facebook app the request goes through as normal, according to the logs anyways, however it tries to find the page in the native app which doesn't support going to group pages.
Basically I am wondering if there is a way to force the app to always open in the default web browser for the device (safari or chrome depending on device).
Again, thanks for the time spent reading this and any help you may be able to offer.
Answer by Noel9386 · Mar 12, 2014 at 05:58 PM
After stressing over this all night I found a solution.
When opening the link without the native FB app installed the url in the web browser will be some thing along the lines of https://m.facebook.com/myGroupid?refsrc=1234567890 and go on for a while.
The part you want to put into the Application.URL call is https://m.facebook.com/myGroup. You can also put in the entire URL but that is a larger pain than it needs to be.
Your answer
Follow this Question
Related Questions
Facebook Unity SDK - iOS Login not persisting 1 Answer
I can see/send invites to non-app user friends on canvas app but not on android/ios 0 Answers
API for posting to all social networks for all platforms 2 Answers
FB Gift Requests not appearing as Push Notification 0 Answers
Allowing users to post to their FB walls from within a Unity app 0 Answers