Ejemplo n.º 1
0
        public void update(Facebook.Entity.User fb_user)
        {
            this.FacebookId       = fb_user.UserId;
            this.FirstName        = fb_user.FirstName;
            this.LastName         = fb_user.LastName;
            this.Birthday         = (DateTime)fb_user.Birthday;
            this.PictureUrl       = Convert.ToString(fb_user.PictureUrl);
            this.PictureBigUrl    = Convert.ToString(fb_user.PictureBigUrl);
            this.PictureSmallUrl  = Convert.ToString(fb_user.PictureSmallUrl);
            this.PictureSquareUrl = Convert.ToString(fb_user.PictureSquareUrl);

            log.Debug("\n\nUpdated dreamfolk person: " + this.Birthday);
        }
Ejemplo n.º 2
0
        public DreamFolk(Facebook.Entity.User fb_user)
        {
            this.update(fb_user);

            log.Debug("\n\nCreated new dreamfolk person: " + this.Birthday);
        }