I’m wanting to integrate Twitter and Facebook into a game using Cocos2D. I just want simple stuff like tweeting “I scored xxx”, posting similar message to Facebook page, etc. I’ve seen numerous libraries offering to make my life easier – ShareKit, AddThis, etc – but I’ve also read things from people saying they are not that easy, not supported, and so on.
I could just go and get the facebook and twitter SDKs and integrate them in, but I was wondering if anyone had any recommendation for something that I’ve missed. I need to support iOS4 and 5 so I the library should use the built-in twitter features in iOS5 if present I guess.
Any suggestions or comments on this – perhaps I’ve just missed something really obvious?
1) For Facebook,Ofcourse you can use facebook SDK and configure it https://github.com/facebook/facebook-ios-sdk . But You may get lots of questions in that. Better read documentation given in facebook website and do it. Feel free to ask any doubt in that.
2)For Twitter, you can use twitter framework which is inbuilt in ios5. Its pretty easy. Try to use tweet sheet in that. It will give a good experience and consistency to the users of ios5.
But You also have to integrate MGTwitterEngine( https://github.com/mattgemmell/MGTwitterEngine ) to give support for ios4 and and its prior versions. Its little difficult.
Hope You got it.