I have tested the public FB + JS example (https://github.com/sdkbox/sdkbox-facebook-sample), cocos2d-x 3.8.1 and the example as is, works for me as expected.
The app does not crash when trying any of the test options either logged-in or not in FB. When not logged-in, i get trace messages about failed operations, but no crashes.
The bundled functionality in the example is share a link.
could you please post your function call, so i can execute exactly the same code ?
devil is in the details, and the lack of any of the fields could raise the error.
On my side, this is the code:
var info = {};
info.type = "link";
info.link = "http://www.cocos2d-x.org";
info.title = "cocos2d-x";
info.text = "Best Game Engine";
info.image = "http://cocos2d-x.org/images/logo.png";
sdkbox.PluginFacebook.share(info);
Also, if possible, could you post your complete stacktrace ? It will be really helpful for us.
Sorry for the delay.
Thanks.