Getting error 400 while hitting twitter API since 16 Nov 2012


#1

Hi all, I am developing an Twitter Application using REST API. since 16 Nov 2012 Evening i am constantly getting error 400 for every HTTP request.
But this is not reproduced when i used Twitter4J.

I am using signpost-core-1.2.1.2 for signing the request. here snippet of code in Java :

OAuthConsumer consumer = new DefaultOAuthConsumer(“consumer_key”,“Consumer_secret”);
consumer.setMessageSigner(new HmacSha1MessageSigner());
consumer.setTokenWithSecret(“Access_token”, “secret”);
URL url = new URL(“https://api.twitter.com/1.1/account/verify_credentials.json”);
HttpURLConnection request = (HttpURLConnection) url.openConnection();
request.setRequestMethod(“POST”);
consumer.sign(request);
request.connect();
System.out.println("Response: " + request.getResponseCode() + " "+ request.getResponseMessage());


#2

Make sure you’ve checked everything here: [node:204]