recently tested 'deferred deeplink' function using facebook sdk. there 1 problem.
# did it.
first, have completed of setting apps using "app ads helper" function developers.facebook.com.
https://developers.facebook.com/tools/app-ads-helper
second, obtained result using "deeplink test" provided by"app ads helper".
and see want (applinkdata)
06-04 12:58:25.598 11903-11925/? i/debug_facebook_sdk﹕ bundle[{com.facebook.platform.applink_native_class=, target_url=myapp://myapp.co.kr?test=1111, com.facebook.platform.applink_native_url=myapp://myapp.co.kr?test=1111}]
third, here code used.
protected void oncreate(){ .... facebooksdk.sdkinitialize(getapplicationcontext()); applinkdata.fetchdeferredapplinkdata(getapplicationcontext(), bstracker.getinstance().getfacebookidmeta() , new applinkdata.completionhandler() { @override public void ondeferredapplinkdatafetched(applinkdata applinkdata) { if (applinkdata != null) { bundle bundle = applinkdata.getargumentbundle(); log.i("debug_facebook_sdk", bundle.tostring()); } else { log.i("debug_facebook_sdk", "applinkdata null"); } } }); }
finally. app setting
ad setting
it ad setting. did input deeplink in "get install of app" ad product.
# problem
when created commercial ad @ facebook , released audience can't deferred deeplink.
please let me know, wrong it.
Comments
Post a Comment