How to get facebook app link if app wasn't installed

前端 未结 5 1108
余生分开走
余生分开走 2021-02-05 14:32

How can I get the app link data if my app wasn\'t installed when the user tapped a deep link in the facebook app? There is surprisingly little documentation from facebook on thi

5条回答
  •  悲&欢浪女
    2021-02-05 15:21

    As a FB team responses on https://developers.facebook.com/bugs/393947180805373:

    It works when you are installing app from the new real ad (not test tool) at the first time.

    Explanation:

    Developer:

    Flow At the first try. ( Not installed, using device 1 )

    1. Clicked the button the ad.
    2. Begin redirected to Google Play.
    3. installed my app on device 1.
    4. launched my app first time. >> result : I could see applinkdata.

    -

    1. deleted my app on device 1 ( same device that i used in 1st test. )
    2. Clicked the button again the ad.
    3. Begin redirected to Google Play.
    4. installed my app on device 1.
    5. launched my app first time. >> result : I could not see applinkdata, i got null value. ( wonder why ? )

    FB Team:

    due to some technical constrains in our side the deferred deep link will fails when you send the ad to your own device using the ad preview tool

    ...

    The behavior on device 1 is expected behavior. The app fetches the applink data from the server. When the server gets the request, it marks the ad-applink data as having been fetched. Subsequent requests do not return it. (Otherwise, every time you opened the app thereafter, it would load the applink, which would be a bad experience. The link should only be followed once.). Only if you create a new ad and click on it will the data get fetched again.

    I hope it will help.

    Best regards,

    Jack

提交回复
热议问题