Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing a game cocos2d-x, when user gets a high score, I want them to touch on the Facebook icon and share the high score on their Facebook account timeline.

tutorials on using for objective-c project

Can anybody help me:(

share|improve this question Have you checked the official Facebook tutorials? – Mikolaj Marcisz Mar 29 '13 at 14:32
this is for ios game with objective-c, not for cocos2d-x game with c++ – user919496 Mar 29 '13 at 23:56
Anybody help me:( – user919496 Apr 1 '13 at 1:28

The Graph API is based completely on HTTP requests and JSON encoded data. Therefore all you have to do is be able to do HTTP requests and encode/decode JSON and you're set.

For HTTP, you can use libcurl

For JSON there's a lot of libraries, so be sure you check the ones at the bottom of its official webpage. I've used libjson and it works pretty well.

share|improve this answer

Check out It comes with rich functionalities and detailed document.

share|improve this answer
This is a link only answer, we generally want answers to describe how to solve the issue rather than just a link as the link could break in the future. Are you able to elaborate? – Blue May 13 '14 at 11:01

You can take a look HERE. Actually it works on iOS but is not working in Android.

You can follow the forum´s post HERE

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.