Beispiel #1
0
        public List <PostAdapter> GetPosts()
        {
            List <PostAdapter> posts;

            try
            {
                posts = PostAdapter.CreateAdapterPosts(this.LoggedInUser.LoggedUser.Posts);
            }
            catch (Exception)
            {
                throw new Facebook.FacebookApiException("Couldn't fetch user's posts.");
            }

            return(posts);
        }
Beispiel #2
0
        private FormMainFacade()
        {
            postAdapter = new PostAdapter();

            postAdapter.AttachListener(this as IPostAdapterLIstener);
        }