Example #1
0
 public static string showtweet(RequestIdArgs args)
 {
     return CreateStatusesText(
         twCtx.Status.Where(tweet =>
             tweet.Type == StatusType.Show &&
             tweet.ID == args.id
         )
     );
 }
Example #2
0
 public static string showuser(RequestIdArgs args)
 {
     return CreateUsersText(
         twCtx.User.Where(user =>
             user.Type == UserType.Show &&
             user.ID == args.id
         )
     );
 }
Example #3
0
 //401を返してくるので保留
 public static string lookupusers(RequestIdArgs args)
 {
     return CreateUsersText(
         twCtx.User.Where(user =>
             user.Type == UserType.Lookup &&
             user.ScreenName == args.id
         )
     );
 }