cis-ds / course-site

Course site for Computing for Information Science (INFO 5940)
43 stars 41 forks source link

Fix day 1 rtweet example #344

Closed bensoltoff closed 2 years ago

bensoltoff commented 2 years ago

Twitter API is janky. Already corrected in the slides. Just need to fix the notes.

bensoltoff commented 2 years ago

Also replace exercise on API week.

bensoltoff commented 2 years ago

Day 1 example has been fixed. Need to revise the exercise code to use the newest version of rtweet.

# authenticate interactively with bearer token from my Twitter app
auth <- rtweet_app()

# store token
auth_save(auth, "some-name")

# retrieve stored token
auth_as("some-name")