// Update is called once per frame void Update() { if (!LeaderBoardCallBack.fbAccessToken.Equals("") && LeaderBoardCallBack.isConnected) { Debug.Log("====================ACCESS TOKEN RECIEVED========================"); LeaderBoardCallBack.isConnected = false; AppConstants.GetSocialService().GetFacebookProfile(LeaderBoardCallBack.fbAccessToken, new LeaderBoardCallBack()); } }