user_muted: List muted users

View source: R/user_muted.R

user_mutedR Documentation

List muted users

Description

Looks up the muted users.

Usage

user_muted(
  ids,
  n = 1000,
  expansions = NULL,
  fields = NULL,
  ...,
  token = NULL,
  parse = TRUE,
  verbose = FALSE
)

Arguments

ids

A list id.

n

Number of users to query.

expansions

Set NULL to not use any expansion, set NA to get all expansions, or provide a vector with the expansions you want (create it with set_expansions()).

fields

Set NULL to not use any field, get all allowed fields with NA, provide a list with the fields you want (create it with set_fields()).

...

Other parameters passed to the body of the request.

token

These endpoints only accept a bearer token (can be created via rtweet_app()). In most cases you are better of changing the default for all calls via auth_as().

parse

If TRUE, the default, returns a tidy data frame. Use FALSE to return the "raw" list corresponding to the JSON returned from the Twitter API.

verbose

A logical value to provide more information about paginated queries.

Value

A data.frame with the user information of who is following the list: id, name, and username. Other information depends on the expansions and fields requested. Accepted values are:

  • Expansions: set_expansions(tweet = NULL, list = NULL).

  • Fields: set_fields(media = NULL, poll = NULL, place = NULL, list = NULL).

References

https://developer.twitter.com/en/docs/twitter-api/users/mutes/api-reference/get-users-muting

See Also

user_self()

Examples

if (FALSE) {
  um <- user_muted(user_self()$id)
}

rtweet documentation built on May 29, 2024, 7:47 a.m.