twitteR (version 1.1.9)

timelines: Functions to view Twitter timelines

Description

These functions will allow you to retrieve various timelines within the Twitter universe

Usage

userTimeline(user, n=20, maxID=NULL, sinceID=NULL, includeRts=FALSE, excludeReplies=FALSE, ...) homeTimeline(n=25, maxID=NULL, sinceID=NULL, ...) mentions(n=25, maxID=NULL, sinceID=NULL, ...) retweetsOfMe(n=25, maxID=NULL, sinceID=NULL, ...)

Arguments

user
The Twitter user to detail, can be character or an user object.
n
Number of tweets to retrieve, up to a maximum of 3200
maxID
Maximum ID to search for
sinceID
Minimum (not inclusive) ID to search for
includeRts
If FALSE any native retweets (not old style RT retweets) will be stripped from the results
excludeReplies
if TRUE any replies are stripped from the results
...
Optional arguments to be passed to GET

Value

A list of status objects

See Also

getUser, status

Examples

Run this code
  ## Not run: 
#         ut <- userTimeline('barackobama', n=100)
#   ## End(Not run)

Run the code above in your browser using DataCamp Workspace