public virtual void ListFriendIdsOf(ListFriendIdsOfOptions options, Action<TwitterCursorList<long>, TwitterResponse> action) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var count = options.Count; WithHammock(action, "friends/ids", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&count=", count); }
public virtual Task<TwitterResponse<TwitterCursorList<long>>> ListFriendIdsOfAsync(ListFriendIdsOfOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var count = options.Count; return ExecuteRequest<TwitterCursorList<long>>("friends/ids", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&count=", count); }
public virtual IAsyncResult BeginListFriendIdsOf(ListFriendIdsOfOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var count = options.Count; return BeginWithHammock<TwitterCursorList<long>>(WebMethod.Get, "friends/ids", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&count=", count); }
public virtual Task<TwitterAsyncResult<TwitterCursorList<long>>> ListFriendIdsOfAsync(ListFriendIdsOfOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var cursor = options.Cursor; var count = options.Count; return WithHammockTask<TwitterCursorList<long>>(_client, "friends/ids", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&cursor=", cursor, "&count=", count); }