Exemple #1
0
 public void LoginAndInit()
 {
     m_ManagerUserData = LoggedUserDataSingleton.getInstance();
     LoginResult       = FacebookWrapper.FacebookService.Login(AppId, "public_profile", "user_events", "user_events"); ///need to add here all the reviewed permissions
     LoggedInUser      = LoginResult.LoggedInUser;
     m_ManagerUserData.UpdateUserData(LoggedInUser);
 }
Exemple #2
0
        public static LoggedUserDataSingleton getInstance()
        {
            if (s_Instance == null)
            {
                s_Instance = new LoggedUserDataSingleton();
            }

            return(s_Instance);
        }
Exemple #3
0
 public ThePostsIterator(Func <Post, bool> i_Condition)
 {
     Condition  = i_Condition;
     m_PostList = LoggedUserDataSingleton.getInstance().PostList;
 }