Hi,
Can you please help me with this as i am not able to fetch the additional info of other players.
The only info i am receiving is for current player.
I am getting other players scores but not their additional info which is saved in the collection.
Already Asked at link
http://forum.shephertz.com/?qa=4059/get-additional-data-for-users
NSString *key = @"name";
NSString *value = @"FBUserId";
int max = 5;
NSString *dbName = @"DBName";
NSString *collectionName = @"CollectionName";
Query *query = [QueryBuilder buildQueryWithKey:key value:value andOperator:APP42_OP_EQUALS];
[App42API setDbName:dbName];
[_scoreBoardService setQuery:collectionName metaInfoQuery:query];
Game *game = [_scoreBoardService getTopNRankers:kLeaderBoardServiceGameNameKey max:max];
NSMutableArray *playersIdArray = [[NSMutableArray alloc] init];
NSLog(@"Game Name=%@",game.name);
NSLog(@"Description =%@",game.description);
for (Score *score in game.scoreList)
{
NSLog(@"UserName=%@",score.userName);
NSLog(@"ScoreId=%@",score.scoreId);
NSLog(@"CreatedOn=%@",score.createdOn);
NSLog(@"Rank=%@",score.rank);
NSLog(@"Score=%f",score.value);
NSLog(@"Json Array Count : %d",score.jsonDocArray.count);
}