Michael Giovanni Pumo Michael Giovanni Pumo - 1 year ago 120
JSON Question

Twitter API error 215

Today, we discovered one of my clients Twitter feeds became broken.

I have tried switching to using the new API 1.1, but get the following error:

{"errors":[{"message":"Bad Authentication data","code":215}]}

Even using their own example generates the same response:


I am referencing the following documentation.


Any idea what's up with this?


Answer Source

So, it seems Twitter's latest API 1.1 does not allow access without authentication - even for data that is seemingly public...like the latest 3 tweets from a timeline.

The best article I have found on this (which gives a great solution) for read-access can be found here:


I have followed the steps in the article above and can confirm it works great.

An interesting point to note, is that now, because you have to use access tokens and secret keys; all requests must be made with a server-side script. Prior to this I was using jQuery to make an AJAX request on Twitters JSON API directly. Now, you must AJAX request a dynamic script on your own website, if you wish to go down a Javascript route.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download