コード例 #1
0
ファイル: Commands.cs プロジェクト: azyobuzin/AAafeen
 public static string showtweet(RequestIdArgs args)
 {
     return CreateStatusesText(
         twCtx.Status.Where(tweet =>
             tweet.Type == StatusType.Show &&
             tweet.ID == args.id
         )
     );
 }
コード例 #2
0
ファイル: Commands.cs プロジェクト: azyobuzin/AAafeen
 public static string showuser(RequestIdArgs args)
 {
     return CreateUsersText(
         twCtx.User.Where(user =>
             user.Type == UserType.Show &&
             user.ID == args.id
         )
     );
 }
コード例 #3
0
ファイル: Commands.cs プロジェクト: azyobuzin/AAafeen
 //401を返してくるので保留
 public static string lookupusers(RequestIdArgs args)
 {
     return CreateUsersText(
         twCtx.User.Where(user =>
             user.Type == UserType.Lookup &&
             user.ScreenName == args.id
         )
     );
 }