Are you still having this issue? This is likely a connectivity issue between you, the internet, and the API and not an issue with the API itself.
Also, please update your URLs – OAuth is to be accessed at https://api.twitter.com/oauth/* not http://twitter.com/oauth/*