Cocos2D-JS, Facebook and Parse

Hello, everybody,

Well, I’m trying to merge both Facebook and Parse into Cocos2D-JS. I’m planning to release a game for Web and Android (no iOS for now).

I simply want your comments on what I can do.

Facebook merging seems quite straightforward for both platforms. However, I don’t know if simply using Parse Javascript SDK will do the job or if I need to code with the Parse Android SDK too and then create a binding, that is, to make a Parse plugin just like the current Facebook one.

From what I can research, as long as Parse’s REST API is properly called, there should be no issue in connecting to it. What actually drove me to come here is that plugin.FacebookAgent.login doesn’t return the full authData JSON object, which I’d need to properly use Parse.FacebookUtils.logIn().

But I simply thought, someone here must have tried this already.

If you have any suggestions for me, I’d greatly appreciate them.

Remember I want the game to seamlessly use Facebook and Parse for both Web and Android platforms.

Thanks for reading and for your help!