There is a newer version of the record available.

Published March 30, 2023 | Version v1.2.0
Software Open

ropensci/rtweet: rtweet 1.2.0

  • 1. @irsi-tiv
  • 2. @AwareHQ
  • 3. @posit-pbc
  • 4. GreyNoise Intelligence
  • 5. @ropensci
  • 6. OBCT/CCI
  • 7. Berkeley Institute for Data Science
  • 8. Booz Allen Hamilton
  • 9. Thought and Memory, LLC
  • 10. https://posit.co
  • 11. www.engi.ai
  • 12. Centre for Ecology & Hydrology
  • 13. @RStudio
  • 14. @rstudio
  • 15. @uc3m @IBiDat
  • 16. Los Alamos National Laboratory

Description

Authentication changes

  • New client_* functions to save, set and use a client app using Twitter API via the new authentication mechanism rtweet_oauth2() (see below). It has a helper function for the scopes the client is allowed to do set_scopes(). Endpoint have different scope requirements.

  • New authentication mechanism rtweet_oauth2() required by some endpoints. Only valid for 2 hours until it is automatically renewed, but it is left to the user to save it every time it is renewed.

New endpoints using API v2

New endpoints to retrieve data from twitter, no action is performed (no blocking, muting, posting new tweets...):

  • New list endpoints: list_expansions(), list_fields(), list_followers(), list_get(), list_members(), list_membership(), list_tweets().

  • New tweet endpoints: tweet_get(), tweet_liking_users(), tweet_retweeted_by().

  • New user endpoints: user_blocked(),user_bookmarks(),user_by_username(), user_following(), user_followers(), user_liked_tweets(), user_list_follows(), user_lists(), user_mentions(), user_search(), user_self(), user_timeline(), user_tweets().

  • New statistic endpoints: tweet_counts_recent(), tweet_counts_all().

Other changes
  • Small breaking change: expansions and fields arguments now use NA for all and NULL for none.

  • New functions to set expansions and fields for the new functions: set_expansions(), set_fields().

  • Fixed a bug that prevented auth_setup_default() to work (#756 and #744)

  • Fixed a bug so that the streaming functions use the current token.

Files

ropensci/rtweet-v1.2.0.zip

Files (2.9 MB)

Name Size Download all
md5:135cabc0abd1e263c9b0e28286b2f1da
2.9 MB Preview Download

Additional details

Related works