I have this error:
08-22 15:16:14.482: D/cocos2d-x debug info(20691): JS: assets/src/scenes/MenuScene.js:100:TypeError: sdkbox.PluginFacebook.api is not a function
As I see in cpp files there is not function to api so it cant be called from JS at least…