Reputation: 7598
I'm trying to build an app to look at trending tweets from the bottom up building on the examples given; my steps so far:
twitter4j.properties
pageAs you can see I've not done much, and I'm hoping someone else has done the same and run in to the same problem:
This is my error/stacktrace, I've clipped the lower part off
connect timed outRelevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=9a14e686 or
http://www.google.co.jp/search?q=08e0e81f
TwitterException{exceptionCode=[9a14e686-08e0e81f 538e21cf-133c1788],
statusCode=-1, retryAfter=-1, rateLimitStatus=null, featureSpecificRateLimitStatus=null,
version=2.2.6}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:200)
The only discussion I can find is here, it's a year old and none of it seem relevant to me. But I dunno, maybe I'm wrong?
Upvotes: 0
Views: 109
Reputation: 2824
i have also face this problem and then solve it in this way -
Add a call back url in your twitter app , might be that is wrong or still now not working or perfect, then add that url in your class as a call back url while getting authentication token from twitter, this will solve that error you now facing.
private static final String CALLBACK_URL = "http://chinu.talgol.com/";
this url is also in app's callback url.
mTwitter.getOAuthRequestToken(CALLBACK_URL);
I have solved it this way, but i am not sure this is the right, but it didn't do any harm to my app while twitting.
Upvotes: 1