Unity SDK

FB.Mobile.FetchDeferredAppLinkData

Updated: Mar 2, 2018
Copy for LLM
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
)
Name Type Description Default
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);
    }
}