set_fields function

Create fields

Create fields

Choose which fields are used, by default all are returned. Usually all the first 3 are accepted together and the last two too.

set_fields( media = media_fields, poll = poll_fields, tweet = tweet_fields, place = place_fields, user = user_fields, list = list_fields )

Arguments

  • media: The fields you want from media_fields.
  • poll: The fields you want from poll_fields.
  • tweet: The fields you want from tweet_fields.
  • place: The fields you want from place_fields.
  • user: The fields you want from user_fields.
  • list: The fields you want from list_fields.

Returns

A list with the fields requested ready to be used in your requests to the API.

Examples

set_fields() set_fields(media = NULL) set_fields(place = NULL, user = NULL)

See Also

Fields

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24