create_compliance_job | R Documentation |
This function creates a new compliance job and upload the Tweet IDs or user IDs. By default, the parameter x
with the length of one is assumed to be a text file containing either Tweet IDs or user IDs. This default behavior can be bypassed using force_ids
For example, if you want to check for just a single Tweet ID.
create_compliance_job(
x,
type = "tweets",
bearer_token = get_bearer(),
force_ids = FALSE,
verbose = TRUE
)
x |
either a character vector of Tweet IDs or user IDs; or a plain text file that each line contains a Tweet ID or user ID. |
type |
the type of the job, whether "tweets" or "users". |
bearer_token |
string, bearer token |
force_ids |
logical, make sure |
verbose |
If |
the job ID (invisibly)
## Not run:
create_compliance_job(x = "tweetids.txt", type = "tweets")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.