• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

R/H26-Jul-2015-1,8291,454

inst/H31-Dec-2014-305245

man/H26-Jul-2015-1,3411,282

DESCRIPTIONH A D28-Jul-2015784 2120

MD5H A D28-Jul-20152.6 KiB5453

NAMESPACEH A D26-Jul-20151.6 KiB6159

NEWSH A D26-Jul-20156.3 KiB200127

README.mdH A D16-May-20151.5 KiB2017

README.md

1## twitteR
2twitteR is an R package which provides access to the Twitter API. Most functionality of the API is supported, with a bias towards API calls that are more useful in data analysis as opposed to daily interaction.
3
4## Getting Started
5
6- Please read the [user vignette](http://geoffjentry.hexdump.org/twitteR.pdf), which admittedly can get a bit out of date
7- Create a Twitter application at http://dev.twitter.com. Make sure to give the app read, write and direct message authority.
8- Take note of the following values from the Twitter app page: "API key", "API secret", "Access token", and "Access token secret".
9- You can use the CRAN version (stable) via the standard `install.packages("twitteR")` or use the github version. To do the latter:
10  - `install.packages(c("devtools", "rjson", "bit64", "httr"))`
11  - Make sure to restart your R session at this point
12  - `library(devtools)`
13  - `install_github("geoffjentry/twitteR")`
14- At this point you should have `twitteR` installed and can proceed:
15  - `library(twitteR)`
16  - `setup_twitter_oauth("API key", "API secret")`
17    - The `API key` and `API secret` are from the Twitter app page above. This will lead you through `httr`'s OAuth authentication process. I recommend you look at the man page for `Token` in `httr` for an explanation of how it handles caching.
18  - You should be ready to go!
19- If you have any questions or issues, check out the [mailing list](http://lists.hexdump.org/listinfo.cgi/twitter-users-hexdump.org)
20