Exemplo n.º 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);
 }
Exemplo n.º 2
0
        public static LoggedUserDataSingleton getInstance()
        {
            if (s_Instance == null)
            {
                s_Instance = new LoggedUserDataSingleton();
            }

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