[SOLVED] SDKBOX Facebook InviteFriends not working

Hello, we using cocos2d-x 3.8.1 C++ with latest sdkbox.

We trying sample app and our own to test invite friends, I get invite dialog, selecting my friend and when posted nothing happens - friend not getting invite.

Facebook app are in development stage and we both are administrators on it.

There is log after invite:

2015-11-18 16:09:09.216 cpp-mobile[7010:1842627] FBSDKLog: FBSDKAppEvents Persist: Writing 0 events
2015-11-18 16:09:09.226 cpp-mobile[7010:1842627] FBSDKLog: FBSDKTimeSpentData Persist: {“numInterruptions”:4,“lastSuspendTime”:1447855749,“secondsSpentInCurrentSession”:182}
on invite friends ok= ‘’
2015-11-18 16:09:09.270 cpp-mobile[7010:1842627] FBSDKLog: FBSDKTimeSpentData Restore: {“numInterruptions”:4,“lastSuspendTime”:1447855749,“secondsSpentInCurrentSession”:182}
2015-11-18 16:09:21.354 cpp-mobile[7010:1842627] FBSDKLog: FBSDKAppEvents: Flushed @ 1447855761, 1 events due to ‘Timer’ - {
“advertiser_tracking_enabled” = 1;
“anon_id” = “REMOVED”;
“application_tracking_enabled” = 1;
event = “CUSTOM_APP_EVENTS”;
extinfo = “[“i2”,“com.funlab.loop”,“1.0”,”",“9.0.2”,“iPhone7,1”,“en_LT”,“GMT+2”,“Omnitel”,736,414,“3.00”,2,114,80]";
“url_schemes” = “[“fbREMOVED”]”;
}
Events: [
{
“event” : {
“_ui” : “FBSDKContainerViewController”,
“_eventName” : “fb_app_invite_dialog_share_result”,
“_logTime” : 1447855749,
“fb_dialog_outcome” : “Completed”,
“_implicitlyLogged” : “1”
},
“isImplicit” : true
}
]
Flush Result : Success

@nite

should it work?

Seems found what caused that issue, facebook app was configured only for mobile application. We expected to see invite in browser, but it was sent only to mobile facebook application and we didn’t checked it. Discovered it after adding canvas to facebook app settings and receiving invite in browser.

Hi @energyy

Glad it worked for you. :smile:
Could you please add [SOLVED] prefix to the thread name, as that would help us track.

Best,
Pabitra