FB.Mobile.FetchDeferredAppLinkData

Deferred deep linking allows you to send people to a custom view after they installed your app via the app store. This is useful when using App Ads to target users who have not yet installed your app. See Deferred Deep Linking for more information.

Deferred deep linking is also useful to pass context on a new installation when using FB.Mobile.AppInvite.

You must enable the 'Deep Linking' option in your App's Facebook settings.

Parameters

public static void FetchDeferredAppLinkData (
    FacebookDelegate<IAppLinkResult> callback = null
)
NameTypeDescriptionDefault

callback

FacebookDelegate <IAppLinkResult>

A delegate which will receive the result of the method call

null

Example

FB.Mobile.FetchDeferredAppLinkData(DeepLinkCallback);

void DeepLinkCallback(IAppLinkResult result) {
    if(!String.IsNullOrEmpty(result.Url)) {
        Debug.Log(result.Url);
    }
}