I am a unity / Facebook sdk newby, but did read through the documentation pretty thoroughly and sill have questions.
My use case: I want to be able to share a link that will redirect users to install the game on their specific device, or open it if it’s already installed.
Question1: I have a game already published, called BulletForce. We created an iOS and an Android app in the quickstart (https://developers.facebook.com/quickstarts) using the correct appID, etc from the app store/play store for each platform, then copied the app link to my code like this:
FB.Mobile.AppInvite(
new Uri(“Bullet Force”),
new Uri(“https://pbs.twimg.com/profile_images/800093942884671488/kP0xJwJB.jpg”),
AppInviteCallback
Then I compiled and deployed it I run it and invite users, the link that is posted to Facebook is the link to the demo App, not my actual game. Why is it redirecting to the sample app instead of the the actual games?
Question 2: I don’t understand the need for a custom url scheme. I just used the default: myapp://sample. Is that correct? I do not need to create a deep link inside the game, so why do I need this custom url?
Question3: When I used the sample app to invite one of my FB friends to install the app, that friend did to receive my invite at all. Is this because my demo app is still in development? Or could it be because my friend already has the game installed? Please tell me why my FB friend cannot see my invites.
Thank you for your help,
Clint