We are posting Tweets to multiple accounts from same IP address using software application. And in response from twitter , we are getting 403 error code, API used by us is R
If it is a recent error (since Jan 14th) you can try to add this:
ConfigurationBuilder cb = new ConfigurationBuilder(); cb.setUseSSL(true); // <======== set use SSL
Twitter added a requirement on January 14th to use SSL/HTTPS when using their API.
Twitter
SSL/HTTPS
The above code fixed it for me.