publicTimeline(...)
userTimeline(user, n=20, maxID=NULL, sinceID=NULL, ...)
homeTimeline(n=25, maxID=NULL, sinceID=NULL, ...)
mentions(n=25, maxID=NULL, sinceID=NULL, ...)
retweetedByMe(n=25, maxID=NULL, sinceID=NULL, ...)
retweetedToMe(n=25, maxID=NULL, sinceID=NULL, ...)
retweetsOfMe(n=25, maxID=NULL, sinceID=NULL, ...)
character
or
an user
object.getURL
status
objectspublicTimeline
function will return a current snapshot of
the public timeline. The userTimeline
function will only work if the user requested
has a public timeline, or you have previously registered a
OAuth
object using registerTwitterOAuth
and are
authorized to view that content.
The other functions will provide various views into timelines
available to the user. They all require authentication via
OAuth
.
getUser
, status
,
registerTwitterOAuth
pt <- publicTimeline()
pt
ut <- userTimeline('barackobama', n=100)
Run the code above in your browser using DataLab