延迟深层链接在android和facebook SDK中始终为null [英] Deferred deep links always null in android and facebook SDK

查看:747
本文介绍了延迟深层链接在android和facebook SDK中始终为null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有延迟深层链接的问题 https://developers.facebook.com/docs/app-ads/deep-linking#deferred-deep-linking 与Facebook android sdk v4.8.1。对于fetchDeferredAppLink方法的回调,它总是为应用程序数据返回null。我已使用此工具进行测试: https://developers.facebook.com/tools/ app-ads-helper / 已启用延迟复选框,并从Playstore和android studio中卸载该应用程序并重新启用。我用手机上的脸书上的帐号登录。我已经仔细检查了设置是否正确,我无法想象出现什么问题或错误。

I'm having a problem with the deferred deep links https://developers.facebook.com/docs/app-ads/deep-linking#deferred-deep-linking with facebook android sdk v4.8.1. It always returns null for the applink data on the callback of fetchDeferredAppLink method. I've tested with this tool: https://developers.facebook.com/tools/app-ads-helper/ with the deferred checkbox enabled and uninstalling the app and reintalling both from playstore and android studio. I am logged in with my account on facebook on my phone. I've double checked that the setup is right, and I can't imagine what the problem or error might be.

推荐答案

虽然Facebook修复了错误,但我建议您查看 Branch.io 以及从其中链接到您的应用程序的功能通过延迟深层链接的Facebook广告。该解决方案适用于分享给用户状态的分支链接。

While Facebook gets their bug fixed, I recommend taking a look at Branch.io and their ability to link to your app from a Facebook Ad via deferred deeplinking. The solution works well for Branch links shared to a user's status as well.

我已经在自己的Android应用程序中使用了他们的链接,更具体地针对广告,我注意到他们可以很好地跟踪安装和打开。

I have used their links in my own Android application, more specifically for ads and I've noticed that they can track Installs and Opens very well.

这篇关于延迟深层链接在android和facebook SDK中始终为null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆