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