[Help][SDKBOX][iOS]Facebook share not working in facebook app but works in browser

I am not able to take build of sample project . It’s saying cocos2d.h file is not found

Did you run the setup script?

@ nite
I just opened xcodeproj file and took build.

@nite
After running setup script I was able to take build.
Thank you.

@yinjimmy @nite

I tested with the sample project.

onSharedCancel is called on share success for both dialog link and dialog photo.
I tested it with iPhone 6 and iPhone 7.

here’s the screen shots and log.
Dialog link

  2017-05-17 10:06:49.231780+0530 facebook_js-mobile[1563:310473] [core] SLComposeViewController completeWithResult: 1
  2017-05-17 10:06:49.236405+0530 facebook_js-mobile[1563:310473] JS: onSharedCancel
  2017-05-17 10:06:49.236512+0530 facebook_js-mobile[1563:310473] JS: share canceled
  2017-05-17 10:06:49.236651+0530 facebook_js-mobile[1563:310473] [core] SLComposeViewController automatically dismissing itself
  2017-05-17 10:06:49.267131+0530 facebook_js-mobile[1563:310473] [core] SLRemoteComposeViewController: (this may be harmless) viewServiceDidTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
  2017-05-17 10:06:49.267603+0530 facebook_js-mobile[1563:310473] [core] SLComposeViewController remoteViewController: <SLRemoteComposeViewController: 0x15163a00> didTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
  2017-05-17 10:06:49.272360+0530 facebook_js-mobile[1563:310473] [core] SLComposeViewController dealloc <SLComposeViewController: 0x16579f60>
  2017-05-17 10:06:59.346386+0530 facebook_js-mobile[1563:310473] FBSDKLog: FBSDKAppEvents: Flushed @ 1494995819, 1 events due to 'Timer' - {
"advertiser_tracking_enabled" = 1;
"anon_id" = "XZ51336694-B22A-4FA6-B39B-B05C9CE54E65";
"application_tracking_enabled" = 1;
event = "CUSTOM_APP_EVENTS";
extinfo = "[\"i2\",\"com.sdkbox.sample.facebook.js\",\"1.0\",\"\",\"10.3.1\",\"iPhone7,2\",\"en_IN\",\"IST\",\"Vodafone India\",320,568,\"2.00\",2,15,8,\"Asia\\/Kolkata\"]";
"url_schemes" = "[\"fb367767990285865\"]";
}
Events: [
{
"isImplicit" : true,
"event" : {
  "fb_dialog_outcome" : "Completed",
  "_logTime" : 1494995809,
  "_eventName" : "fb_dialog_share_result",
  "_implicitlyLogged" : "1",
  "_ui" : "SLComposeViewController"
}
 }
]
Flush Result : Success

Dialog photo

2017-05-17 10:09:38.935540+0530 facebook_js-mobile[1574:311911] offestY = 0.000000
2017-05-17 10:09:42.771503+0530 facebook_js-mobile[1574:311911] [core] SLComposeViewController completeWithResult: 1
2017-05-17 10:09:42.778461+0530 facebook_js-mobile[1574:311911] JS: onSharedCancel
2017-05-17 10:09:42.778626+0530 facebook_js-mobile[1574:311911] JS: share canceled
2017-05-17 10:09:42.778770+0530 facebook_js-mobile[1574:311911] [core] SLComposeViewController automatically dismissing itself
2017-05-17 10:09:42.837918+0530 facebook_js-mobile[1574:311911] [core] SLRemoteComposeViewController: (this may be harmless) viewServiceDidTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
2017-05-17 10:09:42.838367+0530 facebook_js-mobile[1574:311911] [core] SLComposeViewController remoteViewController: <SLRemoteComposeViewController: 0x17bd3600> didTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
2017-05-17 10:09:42.846208+0530 facebook_js-mobile[1574:311911] [core] SLComposeViewController dealloc <SLComposeViewController: 0x16df55d0>
2017-05-17 10:09:52.760910+0530 facebook_js-mobile[1574:311911] FBSDKLog: FBSDKAppEvents: Flushed @ 1494995992, 1 events due to 'Timer' - {
"advertiser_tracking_enabled" = 1;
"anon_id" = "XZ51336694-B22A-4FA6-B39B-B05C9CE54E65";
"application_tracking_enabled" = 1;
event = "CUSTOM_APP_EVENTS";
extinfo = "[\"i2\",\"com.sdkbox.sample.facebook.js\",\"1.0\",\"\",\"10.3.1\",\"iPhone7,2\",\"en_IN\",\"IST\",\"Vodafone India\",320,568,\"2.00\",2,15,8,\"Asia\\/Kolkata\"]";
"url_schemes" = "[\"fb367767990285865\"]";
}
Events: [
 {
"isImplicit" : true,
"event" : {
  "fb_dialog_outcome" : "Completed",
  "_logTime" : 1494995983,
  "_eventName" : "fb_dialog_share_result",
  "_implicitlyLogged" : "1",
  "_ui" : "SLComposeViewController"
}
 }
 ]
Flush Result : Success

Did this solved? I have the same problem IOS + CreatorV1.8.1 + PluginFacebookV2.3.17.5 :frowning:

No, it’s not solved. I have the same problem on iOS.