//public static string fbAccessToken = "";
public void OnSuccess(object response)
{
if (response is Game)
{
Game gameObj = (Game)response;
Debug.Log("Game ::: " + gameObj.ToString());
if (gameObj.GetScoreList().Count > 0)
{
for (int i = 0; i < gameObj.GetScoreList().Count; i++)
{
string name = gameObj.GetScoreList()[i].GetFacebookProfile().GetName();
string score = gameObj.GetScoreList()[i].GetValue().ToString();
string profilePic = gameObj.GetScoreList()[i].GetFacebookProfile().GetPicture();
string userId = gameObj.GetScoreList()[i].GetFacebookProfile().GetName();
Texture.GetInstance().ExecuteShow(userId, profilePic);
IList <string> slist1 = new List <string>();
slist1.Add(userId);
slist1.Add(name);
slist1.Add(profilePic);
slist1.Add(score);
friendList.Add(slist1);
}
}
}
}