geotheory
geotheory

Reputation: 23650

Using twitteR's getRetweeters method

I can't figure out how to use this method. Having authenticated with {twitteR}, the following code illustrates:

status <- showStatus('572173453467365376')
status$getRetweeters()
Error in check_id(id) : object 'self' not found

Any idea what's wrong?

Upvotes: 0

Views: 141

Answers (1)

lukeA
lukeA

Reputation: 54237

Check ?status - an object of class status has no method getRetweeters. It has a method status$toDataFrame() and fields like status$retweetCount. However, you can use retweeters(status$getId()) to get what you probably want.

Upvotes: 1

Related Questions