ROAuth and twitteR, Mac OS X 10.7, R 2.15


I'm having a very difficult time getting my OAuth to work so that I can make 350 calls per hour to twitter's API.

I have reviewed several other threads with similar topics, but my problem appears to be different:

<a href="https://stackoverflow.com/questions/5589522/twitter-and-roauth-r-packages-install" rel="nofollow">twitteR and ROAuth R Packages install</a>

<a href="https://stackoverflow.com/questions/9373157/twitter-and-roauth" rel="nofollow">twitteR and ROAuth</a>

<a href="https://stackoverflow.com/questions/9916283/twitter-roauth-and-windows-register-ok-but-certificate-verify-failed" rel="nofollow">TwitteR, ROAuth and Windows: register OK, but certificate verify failed</a>

my code is as follows:

rm(list=ls()) library("twitteR") library("ROAuth") requestURL <- "https://api.twitter.com/oauth/request_token" accessURL = "https://api.twitter.com/oauth/access_token" authURL = "https://api.twitter.com/oauth/authorize" cKey = "__________" cSecret = "__________" Cred <- OAuthFactory$new(consumerKey=cKey, consumerSecret=cSecret, requestURL=requestURL, accessURL=accessURL, authURL=authURL) Cred$handshake() registerTwitterOAuth(Cred)

Despite trying many different versions of the same code, resetting my API key, and even registering a new account and retrieiving a new API key, i continually return this error:

Error in Cred$handshake() : Invalid response from site, please check your consumerKey and consumerSecret and try again.

There is absolutely no way this could be an issue with my key/secret. Any other ideas?


Problem Solved:

I had already downloaded this new version of ROAuth (http://lists.hexdump.org/pipermail/twitter-users-hexdump.org/2012-February/000059.html) but had not restarted R! duh!


  • Failed to import the business network card
  • Spring Security SAML with PingIdentity/ PingFederation
  • Download a file providing username and password using Python
  • This message cannot support the operation because it has been copied
  • Can we stream only flash videos throught RTMP?
  • xp_regread() returned error 5, 'Access is denied.'
  • extjs remove duplicate value before storing it into a store
  • Combinatios in List of LIsts Prolog
  • os.system not working, but typing the same thing into the command prompt works
  • cURL for Windows can't make a secure connection to the Stack API
  • Modifying files nested in tar archive
  • SSLRead() return error -9806/15958)
  • React Native fetch is not a function
  • Curried UDF - Pyspark
  • sudo easy_install for SimpleITK not that easy
  • Regex for nested values
  • GeoTrust SSL certificate on Android not trusted
  • jersey/tomcat Description The origin server did not find a current representation for the target res
  • Magento get URL before current
  • Aptana 3 remove bundle (jquery)
  • OSX - always hide certain files
  • Bash if statement with multiple conditions
  • Stop Bash Script if Hive Fails
  • Installing iPhone App to iPhone
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Email verification using google app script and google forms
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Why winpcap requires both .lib and .dll to run?
  • RestKit - RKRequestDelegate does not exist
  • log4net write single file for each call to log.info
  • Benchmarking RAM performance - UWP and C#
  • Acquiring multiple attributes from .xml file in c#
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Turn off referential integrity in Derby? is it possible?
  • How can I remove ASP.NET Designer.cs files?
  • Add sale price programmatically to product variations
  • reshape alternating columns in less time and using less memory
  • Unable to use reactive element in my shiny app
  • java string with new operator and a literal
  • How do I use LINQ to get all the Items that have a particular SubItem?