#' GET lists/ownerships
#'
#' @seealso \url{https://dev.twitter.com/rest/reference/get/lists/ownerships}
#' @param user_id
#' The ID of the user for whom to return results for.
#' @param screen_name
#' The screen name of the user for whom to return results for.
#' @param count
#' The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be
#' returned in a single page.
#' @param cursor
#' Breaks the results into pages. Provide a value of -1 to begin paging. Provide values as returned in
#' the response bodyfs next_cursor and previous_cursor attributes to page back and forth in the list.
#' It is recommended to always use cursors when the method supports them. See [node:10362] for more
#' information.
#' @export
twtr_lists_ownerships <- function(user_id = NULL, screen_name = NULL, count = NULL, cursor = NULL, ...) {
twtr_api("GET", "https://api.twitter.com/1.1/lists/ownerships.json", query = list(user_id = user_id, screen_name = screen_name, count = count,
cursor = cursor, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.