public void GetFacebookFriendsScores(Action <List <OKScore>, OKException> requestHandler) { OKFacebookUtilities.GetFacebookFriendsList((List <string> fbFriends, OKException e) => { if (e == null) { Debug.Log("Got facebook friends list"); this.GetFacebookFriendsScores(fbFriends, requestHandler); } else { Debug.Log("Error getting list of fb friends"); requestHandler(null, e); } }); }
public void Get(OKRequestHandler <OKGhostScoresResponse> handler) { _didFinish = handler; OKFacebookUtilities.GetFacebookFriendsList(FriendsListDidLoad); // No request handle for this. }