Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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 facebook.developer.com using for objective-c project

Can anybody help me:(

share|improve this question
    
developers.facebook.com/docs/tutorials/ios-sdk-games/feed 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

3 Answers 3

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 https://github.com/hiepnd/Screw. 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 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

 
discard

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.