I'm using ScoreBoardService to fetch score-board for facebook friends by using this function:- "scoreBoardService.getTopNRankersFromFacebookByDateRange" but it return exception :
"Error: {"app42Fault":{"httpErrorCode":404,"appErrorCode":3027,"message":"Not Found","details":"Scores betweem startDate 'Mon Nov 03 00:47:17 UTC 2014' and endDate 'Mon Nov 03 03:20:59 UTC 2014' with friends for the game name 'TrueMode2' does not exist."}}"
Steps for getting friends score from Facebook:
1. Login to Facebook.
2. Link user facebook account using socialService.LinkUserFacebookAccount
3. Save score by service scoreBoardService.saveUserScore(gameName,userName,gameScore, new callback());
4. Get friends score from Facebook using scoreBoardService.GetTopNRankersFromFacebook.
var accessToken:String = "CAAGhX8G6xjcBAP83HdqeVthbqIWbztMkbaHPzNpGX0QkLEZBnYZBAgycP9zfNEjk9TdfiPPfQBbyW5eK7LkcVIZBzwElaWi5MPhS417cOxoziDDZCovF7QJ9ZCSg8nJHYUz6RBxlZAVatfVF6LZBXYXWwE4mAUYd3UsnBiZARTmDhn5GW5xWhZA6SyExXZAwSiMQR5QqiJptpxeZA7Jk1bsJQTqVZBihSBQ4k4IZD";
var max:int= 1000;
var callback:callbackGetData = new callbackGetData(isFriend);
ColorBlind.instance.scoreBoardService.getTopNRankersFromFacebookByDateRange("TrueMode2", accessToken, new Date(1414975637000), new Date(), max ,callback);