Skip to contents

Arguments of expansion that select which values are returned. Fields are possible for:

Usage

media_fields

place_fields

poll_fields

list_fields

tweet_fields

user_fields

metrics_fields

Format

An object of class character of length 13.

An object of class character of length 8.

An object of class character of length 5.

An object of class character of length 6.

An object of class character of length 18.

An object of class character of length 15.

An object of class character of length 4.

Examples

media_fields
#>  [1] "duration_ms"        "height"             "media_key"         
#>  [4] "preview_image_url"  "type"               "url"               
#>  [7] "width"              "public_metrics"     "non_public_metrics"
#> [10] "organic_metrics"    "promoted_metrics"   "alt_text"          
#> [13] "variants"          
place_fields
#> [1] "contained_within" "country"          "country_code"     "full_name"       
#> [5] "geo"              "id"               "name"             "place_type"      
poll_fields
#> [1] "duration_minutes" "end_datetime"     "id"               "options"         
#> [5] "voting_status"   
tweet_fields
#>  [1] "attachments"         "author_id"           "context_annotations"
#>  [4] "conversation_id"     "created_at"          "entities"           
#>  [7] "edit_controls"       "geo"                 "id"                 
#> [10] "in_reply_to_user_id" "lang"                "public_metrics"     
#> [13] "possibly_sensitive"  "referenced_tweets"   "reply_settings"     
#> [16] "source"              "text"                "withheld"           
user_fields
#>  [1] "created_at"        "description"       "entities"         
#>  [4] "id"                "location"          "verified_type"    
#>  [7] "name"              "pinned_tweet_id"   "profile_image_url"
#> [10] "protected"         "public_metrics"    "url"              
#> [13] "username"          "verified"          "withheld"