I have try to connect it…
all goes well
I choose user to share… and than it tells the inivation is send, I’m moved to fb page and than crash on last line of
class FacebookListenerJsHelper : public sdkbox::FacebookListener
{
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.
i tried all the sample’s functionality, including invite (default FB’s invite dialog) flawlessly.
Could you tell me what sdkbox version are you using ?
Yes, i try on ios 9.1.
will upgrade to 9.2 and post if i get any difference.
Thanks.
p.s. Sorry if i request for something that has already been asked for.
It started working. But I have error when I try to share when calling share from not main scene layer but some other layer. Could you please check that?
Sharing hmm, I think it was my code… I did a loop checking if user is logged and if he isn’t it invoked login again… so I got this 2 pages with login data… it than somehow was not working because I miss the screen with publish permissions etc. But I make it work today, and it works fine!