% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/accounts.R
\name{add_account}
\alias{add_account}
\title{Agregar Cuenta de Twitter}
\usage{
add_account(
  username,
  password,
  email,
  email_password,
  cookies,
  db_file = "accounts.db",
  verbose = TRUE
)
}
\arguments{
\item{username}{Nombre de usuario}

\item{password}{Contrasena}

\item{email}{Email de la cuenta}

\item{email_password}{Contrasena del email}

\item{cookies}{Cookies de sesion (OBLIGATORIO - formato: "auth_token=...; ct0=...")}

\item{db_file}{Archivo de base de datos (default: "accounts.db")}

\item{verbose}{Si `TRUE`, emite mensajes informativos con `message()`/`warning()`; puede silenciarse con `suppressMessages()`/`suppressWarnings()`.}
}
\value{
Invisibly returns `TRUE` if the account was added and is active; invisibly returns `FALSE` if it was not added, already existed, or could not be activated.
}
\description{
Agrega una cuenta de Twitter con cookies y la activa automaticamente. IMPORTANTE: Las cookies son obligatorias para activar la cuenta correctamente.
}
\examples{
\donttest{
if (check_setup() && interactive()) {
  # add_account(
  #   username = "your_username",
  #   password = "your_password",
  #   email = "you@example.com",
  #   email_password = "your_email_password",
  #   cookies = "auth_token=...; ct0=..."
  # )
}
}
}
