Twitter quietly switches off HTTP connections to API

If your Twitter API requests were having issues over the past couple of days, changing to an SSL connection should fix your problems.

In case you have not found yourself on Twitter’s dev site recently, the social network recently switched all its API traffic to require an SSL connection.

A notice on and a banner along the top of the site were the only notices that I saw, that everything you know about APIs and Twitter was about to change. Frankly, it was easy to miss if you hadn’t felt the need to poke around Twitter’s dev docs.

To compound the confusion, when a script now attempts to connect to Twitter’s API using a HTTP connection without SSL, all that is returned by the API is a “403: Forbidden” error.

For most use cases and frameworks, the change should only need to be adding a boolean flag or hitting the API with an https prefix instead of http.