Learn R Programming

twitteR (version 0.9.3)

publicTimeline: Functions to view Twitter timelines

Description

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

Usage

publicTimeline(session=getCurlHandle(), ...)
userTimeline(user, n=20, session=getCurlHandle(), ...)

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
session
cURL session object
...
Optional arguments to be passed to getURL

Value

Details

The userTimeline function will only work if the user requested has a public timeline

See Also

getUser, status

Examples

Run this code
pt <- publicTimeline()
        pt
        ut <- userTimeline('barackobama', n=100)

Run the code above in your browser using DataLab