I am submiting my score as below
ScoreBoardService *scoreBoardService = App42API::BuildScoreBoardService();
//Here user_id is facebook id
scoreBoardService->SaveUserScore(gameName, user_id.c_str(), score, app42callback(TestScoreboardService::onScoreBoardRequestCompleted, this));
The reason for saving the score using facebook id is to get facobook friends score
Facebook friends score is working fine.
When i call GetTopNRankers ,user name in response is facebook id , but it should be facebook user name
ScoreBoardService *scoreBoardService = App42API::BuildScoreBoardService();
int max =10;
scoreBoardService->GetTopNRankers(gameName, max, app42callback(TestScoreboardService::onScoreBoardRequestCompleted, this));
Please help me how to get user name from global score ? ,am I missing something ?
I'm using app42SDK for Cocos2d-x and testing on iOS device.