#' POST lists/subscribers/create
#'
#' @seealso \url{https://dev.twitter.com/rest/reference/post/lists/subscribers/create}
#' @param owner_screen_name
#' The screen name of the user who owns the list being requested by a slug.
#' @param owner_id
#' The user ID of the user who owns the list being requested by a slug.
#' @param list_id
#' The numerical id of the list.
#' @param slug
#' You can identify a list by its slug instead of its numerical id. If you decide to do so, note that
#' youÂfll also have to specify the list owner using the owner_id or owner_screen_name parameters.
#' @export
twtr_lists_subscribers_create <- function(owner_screen_name = NULL, owner_id = NULL, list_id, slug, ...) {
twtr_api("POST", "https://api.twitter.com/1.1/lists/subscribers/create.json", body = list(owner_screen_name = owner_screen_name, owner_id = owner_id,
list_id = list_id, slug = slug, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.