Example #1
0
        public async Task LoadAsync()
        {
            var request = new Request {
                Uid = Weibo.CurrentAuthToken.ContextData["UserID"] as string
            };
            var response = await Weibo.ExecuteUsersShowAsync(request);

            UserProfile.ScreenName      = response.Value.ScreenName;
            UserProfile.ProfileImageUrl = response.Value.ProfileImageUrl;
            UserProfile.FollowersCount  = response.Value.FollowersCount;
            UserProfile.FriendsCount    = response.Value.FriendsCount;
            UserProfile.StatusesCount   = response.Value.StatusesCount;
        }