I am trying to integrate Facebook plugin (objective-C) with cocos2dx.
I can successfully run the code in application didFinishLaunchingWithOptions inside AppController.mm
This code runs when the application starts (in objective-c), but how do I invoke this code from a CCScene or a CCLayer (in .cpp instead of .mm) ?