Search code examples
cocos2d-iphonecocos2d-x

facebook/twitter integration in cocos2d-x?


I am facing a problem with facebook/twitter integration in cocos2d-x. I don't know how to do the facebook/twitter integration in cocos2d-x. If any one knows about this please help me.

Is it possible to implement facebook/twitter integration in cocos2d-x?

If at all possible, what happens when its ported to android/ios/etc. Will it function correctly?

Thanks...


Solution

  • I have written a simple library to connect Java and Objective C with C++ (Cocos2dx). You can search for any tutorial for Facebook SDK integration in the required platform and simply send and receive message from C++ using my library. I have also written a complete Wiki to use this library, please have a look.

    Library Source Page : https://github.com/aajiwani/EasyNDK-for-cocos2dx

    Wiki Page : http://cocos2d-x.org/projects/cocos2d-x/wiki/EasyNDK