skip to Main Content

Getting Connection refused while running my code, it might be an issue related to proxy.how to fix it? – Twitter-api

//This is my code for returning json response from twitter api which works fine when i am not behind any proxy server import oauth.signpost.OAuthConsumer; import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.util.EntityUtils; import org.json.JSONArray; public class…

VIEW QUESTION
Back To Top
Search