summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-04-30 16:01:57 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-04-30 16:01:57 +0200
commit1d6a953c4fe65b3e4af874b05148d4e0e78566c1 (patch)
tree7a4db5772d530b1a852dc3c9b84ceb8ab0a18778
parentf6529d5056f4ca8d7c4a4da29a6189053022e025 (diff)
downloadTwitterDataAnalytics-1d6a953c4fe65b3e4af874b05148d4e0e78566c1.tar.gz
Don't use v1 API for OAuth check
-rw-r--r--src/io/OAuthRequester.java2
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");
}
}