Facebook Integration in cocos2d-x ios game using c++ in xcode

I want to integrate facebook in my ios game using cocos2d-x (c++) using xcode. There I just want to retrieve friend list of all my facebook account friends, send invites to them and also want to share my score in each level of the game I scored. Can anyone please help me to integrate this in my cocos2d-x ios game using c++ I am using cocos2d-x 2.2. Thanks

I think you can use EziSocial http://ezibyte.com (never tried it though) or you can find some more information in this thread: http://www.cocos2d-x.org/forums/6/topics/39444

Hope this helps :)!

hi david…i have also used a plugin ezisocial…but its not working…i have a successfull login.But when i am overriding the virtual function fbfriendsclback as given in that framework.I am unable to get friends list.i have bought the business license file also

Unfortunately I never tried EziSocial :frowning: But I think you should be able to use friends, especially with the Business License. You should try to read EziSocial documentation in the first place here: http://ezibyte.com/category/tutorial/

Or you can ask for some more help in this forum pheraps. Sorry if I’m not very helpful :frowning: