public virtual void ListFriendshipsFor(ListFriendshipsForOptions options, Action<IEnumerable<TwitterFriendshipLookup>, TwitterResponse> action) { var screen_name = options.ScreenName; var user_id = options.UserId; WithHammock(action, "friendships/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }
public virtual Task<TwitterResponse<IEnumerable<TwitterFriendshipLookup>>> ListFriendshipsForAsync(ListFriendshipsForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; return ExecuteRequest<IEnumerable<TwitterFriendshipLookup>>("friendships/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }
public virtual IAsyncResult BeginListFriendshipsFor(ListFriendshipsForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; return BeginWithHammock<IEnumerable<TwitterFriendshipLookup>>(WebMethod.Get, "friendships/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }
public virtual Task<TwitterAsyncResult<IEnumerable<TwitterFriendshipLookup>>> ListFriendshipsForAsync(ListFriendshipsForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; return WithHammockTask<IEnumerable<TwitterFriendshipLookup>>(_client, "friendships/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }