- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
如果用户在手机上安装了 Facebook 应用程序,则可以使用 Facebook 归因 ID。
在Android上,可以用这段代码提取—— Report Android app install back to facebook without using their api
通过查看 Facebook 的 iOS SDK,他们可以使用 -
+ (NSString *)attributionID {
return [[UIPasteboard pasteboardWithName:@"fb_app_attribution" create:NO] string];
}
( https://github.com/facebook/facebook-ios-sdk/blob/master/src/FBUtility.m )
但是当我在安装了 FB 应用程序的手机上调用此方法时,它返回 nil
。
如何在 iOS 上提取它?
最佳答案
不幸的是,我认为答案是你不能这样做。至少只要 Facebook 使用 UIPasteboard。
您帖子中的代码将访问特定于应用程序的粘贴板。如果它是由 Facebook 应用程序创建的,那么它只能由 Facebook 的其他应用程序访问。
The UIPasteboard class enables an app to share data within the app and with another app. To share data with any other app, you can use system-wide pasteboards; to share data with another app that has the same team ID as your app, you can use app-specific pasteboards.
以上引述自the docs
关于ios - 如何在 iOS 上获取 Facebook 归因 ID?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20997589/
如何在 Python 中进行 channel 归因(马尔可夫链模型)?就像我们在 R 中有“ChannelAttribution”包一样。 最佳答案 我为多 channel 归因模型编写了 pytho
我有一个指标分布在四个类别 a、b、c、d 中。 在一段时间内,我会跟踪每个类别的指标变化。这些运动的总和表示从其他地方(“外部”)离开或进入系统的数量。 # SETUP --------------
我从 Facebook SDK for android 中找到了一个方法,叫做: ATTRIBUTION_ID_CONTENT_URI = Uri.parse("content://com.faceb
有没有办法测试这个 iAd 归因代码片段?它基本上可以帮助我了解来 self 的 iAd 广告系列的用户,但我不想在没有先测试它是否有效的情况下部署我的应用程序。 https://developer.
我们最近在我们的 Android 应用中从 Google Analytics SDK 切换到了 Firebase SDK。 在此之前,我们使用INSTALL_REFERRER 来获取用户的来源和媒介。
如果用户在手机上安装了 Facebook 应用程序,则可以使用 Facebook 归因 ID。 在Android上,可以用这段代码提取—— Report Android app install bac
我是一名优秀的程序员,十分优秀!