diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-04-30 16:01:57 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-04-30 16:01:57 +0200 |
commit | 1d6a953c4fe65b3e4af874b05148d4e0e78566c1 (patch) | |
tree | 7a4db5772d530b1a852dc3c9b84ceb8ab0a18778 | |
parent | f6529d5056f4ca8d7c4a4da29a6189053022e025 (diff) | |
download | TwitterDataAnalytics-1d6a953c4fe65b3e4af874b05148d4e0e78566c1.tar.gz |
Don't use v1 API for OAuth check
-rw-r--r-- | src/io/OAuthRequester.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/OAuthRequester.java b/src/io/OAuthRequester.java index 7646e3f..b4ac481 100644 --- a/src/io/OAuthRequester.java +++ b/src/io/OAuthRequester.java @@ -117,7 +117,7 @@ public class OAuthRequester extends AbstractRequester { } // NOTE: this actually contributes to the ratelimit (12/minute) // TODO: find alternative that does not hit the ratelimit - JSONObject obj = getJSONRelax("1/application/rate_limit_status"); + JSONObject obj = getJSONRelax("application/rate_limit_status"); return !obj.has("errors"); } } |