问题
I'm trying to register OAuth from R in order to analyze tweets (using twitteR and ROAuth packages), but I don't know how to get consumers key and secret key. What should I do?
回答1:
The project vignette for twitteR discusses this to some degree. It's in section 6 (page 7).
Syntax examples are even given:
> cred <- OAuthFactory$new(consumerKey = YOURKEY, consumerSecret = YOURSECRET,
+ requestURL = requestURL, accessURL = accessURL, authURL = authURL)
> cred$handshake()
来源:https://stackoverflow.com/questions/7713244/where-should-i-look-for-consumers-key-and-secret-in-order-to-register-oauth