Using FBEvents activateApp on IOS and phonegap doesn't post to Facebook Insights -


i'm looking integrate facebook sdk application track mobile app installs using "activateapp" method. (integration referencepage) able working on android, after discovering must have facebook native application installed , logged-in in order use it. try might unable ios make same call , registered on facebook developer app page "last mobile install". here code i'm using: (the app id listed in example code intentionally wrong, 1 have in running application copy/paste of app id on facebook app page)

- (void)applicationdidbecomeactive:(uiapplication *)application{         [fbsettings setdefaultappid:@"123456789123456"];      [fbsettings setloggingbehavior:[nsset setwithobjects:fbloggingbehaviorappevents, nil]];      [fbappevents activateapp];} 

after activeapp call made see log statement in console

2013-08-19 08:50:45.776 myapp[258:907] fbsdklog: fbappevents: recording event @ 1376920246: { "_eventname" = "fb_mobile_activate_app"; "_logtime" = 1376920246;} 

upon either backgrounding application , opening again see in console. believe sdk pushing requests out fb developer app page.

2013-08-19 11:16:57.667 myapp[286:907] fbsdklog: fbappevents persist: writing 1 events  2013-08-19 11:16:59.453 myapp[286:907] fbsdklog: fbappevents: recording event @ 1376929019: {     "_eventname" = "fb_mobile_activate_app";     "_logtime" = 1376929019;  }  2013-08-19 11:16:59.455 myapp[286:907] fbsdklog: fbappevents persist: read 1 events  2013-08-19 11:16:59.457 myapp[286:907] fbsdklog: fbappevents persist: clearing  2013-08-19 11:16:59.651 myapp[286:907] fbsdklog: fbappevents: flushed @ 1376929019, 2 events due 'persistedevents' -  {     "advertiser_id" = "9534fa44-dde9-40e6-b10f-ddbd174860b4";     "advertiser_tracking_enabled" = 1;     "application_tracking_enabled" = 1;     attribution = "2770a653-be20-4679-b955-cdbf621d5b5c";     event = "custom_app_events"; }  events: [   {     "_eventname" : "fb_mobile_activate_app",     "_logtime" : 1376929009   },   {     "_eventname" : "fb_mobile_activate_app",     "_logtime" : 1376929019   } ] flush result : success 

i pretty sure sdk imported correctly , i've tried scenario barebones stand-alone ios app , still don't see reaction on our facebook app page.

let me know if additional information useful , can add here.

thanks in advance help!


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -