Where should I look for consumers key and secret in order to register OAuth?

只愿长相守 提交于 2019-12-24 12:13:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!