示例#1
0
 // Cusror Query
 public static IEnumerable <string> ExecuteJsonCursorGETQuery <T>(
     string baseQuery,
     int maxObjectToRetrieve = Int32.MaxValue,
     long cursor             = -1)
     where T : class, IBaseCursorQueryDTO
 {
     return(_twitterAccessor.ExecuteJsonCursorGETQuery <T>(baseQuery, maxObjectToRetrieve, cursor));
 }
示例#2
0
        public IEnumerable <string> GetUserIdsRequestingFriendship()
        {
            string query = _friendshipQueryGenerator.GetUserIdsRequestingFriendshipQuery();

            return(_twitterAccessor.ExecuteJsonCursorGETQuery <IIdsCursorQueryResultDTO>(query));
        }
        public IEnumerable <string> GetFriendIds(IUserIdDTO userDTO, int maxFriendsToRetrieve = 5000)
        {
            string query = _userQueryGenerator.GetFriendIdsQuery(userDTO, maxFriendsToRetrieve);

            return(_twitterAccessor.ExecuteJsonCursorGETQuery <IIdsCursorQueryResultDTO>(query));
        }