I plan to use Facebook to store Scores and Achievements in my game.
Looks like this is based in HTTP requests.
Has someone some sample on how to do this in cocos2dx?
If you are interested you can try EziSocial Plugin (It has paid licence). Achievements are not there yet but it will come by next release.