Skip to Content

registerTwitterOAuth {twitteR}

Register OAuth credentials to twitter R session
Package: 
twitteR
Version: 
1.1.9

Description

These functions are deprecated

Usage

getTwitterOAuth(consumer_key, consumer_secret)
registerTwitterOAuth(oauth)

Arguments

consumer_key
The consumer key supplied by Twitter
consumer_secret
The consumer secret supplied by Twitter
oauth
An object of class OAuth

Details

These functions are deprecated, see setup_twitter_oauth

Values

TRUE on success, otherwise an error will be thrown

See Also

setup_twitter_oauth

Examples

## Not run:
     fakeExample = 5
  ## End(Not run)

Author(s)

Jeff Gentry

Documentation reproduced from package twitteR, version 1.1.9. License: Artistic-2.0

Comments

isomorphisms's picture

Also note that this doesn't function as written because twitCred <- OAuthFactory$new(... ... requestURL=reqURL, doesn't match the earlier definition which was of requestURL.

isomorphisms's picture

NB: You need to load require("ROAuth") first because twitteR doesn't automatically pull it in.