Where should I look for consumers key and secret i

2019-08-11 09:09发布

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条回答
手持菜刀,她持情操
2楼-- · 2019-08-11 10:09

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()
查看更多
登录 后发表回答