showStatus: Functions to return statuses

Description Usage Arguments Details Value Author(s) See Also Examples

Description

These functions can be used to retrieve specific tweets from the server

Usage

1
2

Arguments

id

ID of a specific tweet, should be a String, but numbers are accepted

ids

A vector of IDs to lookup, should be Strings but numbers are accepted

...

Optional arguments to be passed to GET (or POST, see Details)

Details

Ideally a POST request would be used for lookup_statuses, however currently there is a problem (issue 78 on github) and GET is used.

Value

For showStatus, an object of class status

For lookup_statuses, a list of status objects. Note that these will not be in the same order as the ids argument and that any id which could not be retrieved will not be present.

Author(s)

Jeff Gentry

See Also

status

Examples

1
2
3
4
5
 ## Not run: 
    showStatus('123')
    lookup_statuses(c("123", "234", "456"))

## End(Not run)

geoffjentry/twitteR documentation built on May 17, 2019, 1:12 a.m.