コード例 #1
0
ファイル: UserAsync.cs プロジェクト: wondertrap/tweetinvi
 public static async Task <IEnumerable <long> > GetFriendIds(string userScreenName, int maxFriendsToRetrieve = 5000)
 {
     return(await Sync.ExecuteTaskAsync(() => User.GetFriendIds(userScreenName, maxFriendsToRetrieve)));
 }
コード例 #2
0
ファイル: UserAsync.cs プロジェクト: wondertrap/tweetinvi
 public static async Task <IEnumerable <long> > GetFriendIds(IUserIdentifier userIdentifier, int maxFriendsToRetrieve = 5000)
 {
     return(await Sync.ExecuteTaskAsync(() => User.GetFriendIds(userIdentifier, maxFriendsToRetrieve)));
 }