I am getting error code 220 for certain requests. Am I correct to understand that if I go to the API’s page and there is a rate limit of #/app, this can be used to indicate that the API is supported for application-only authentication applications?
For instance, I tried /lists/list and I get this:
URI [https://api.twitter.com/1.1/list/list.json?screen_name=ozeroz] Method [GET] Headers [ Authorization: Bearer {Bearer_token}, User-Agent: {User_agent} ] Entity []
Status [403/Forbidden] Headers [ content-length: 91, content-type: application/json; charset=utf-8, date: Fri, 07 Jun 2013 14:59:28 UTC, server: tfe, set-cookie: guest_id=v1%3A137061716821399853; Domain=.twitter.com; Path=/; Expires=Sun, 07-Jun-2015 14:59:28 UTC, strict-transport-security: max-age=631138519 ] Entity [{“errors”:[{“message”:“Your credentials do not allow access to this resource”,“code”:220}]}]
I also tried users/search:
URI [https://api.twitter.com/1.1/users/search.json?q=obama&page=1&per_page=20] Method [GET] Headers [ Authorization: Bearer {Bearer_token{, User-Agent: {User_agent}, Accept: application/json ] Entity []
Status [403/Forbidden] Headers [ content-length: 91, content-type: application/json; charset=utf-8, date: Fri, 07 Jun 2013 15:04:08 UTC, server: tfe, set-cookie: guest_id=v1%3A137061744854994636; Domain=.twitter.com; Path=/; Expires=Sun, 07-Jun-2015 15:04:08 UTC, strict-transport-security: max-age=631138519 ] Entity [{“errors”:[{“message”:“Your credentials do not allow access to this resource”,“code”:220}]}]
However, if I tried to get some trends, I get a good response:
URI [https://api.twitter.com/1.1/trends/place.json?id=3534] Method [GET] Headers [ Authorization: Bearer {Bearer_token}, User-Agent: {User_Agent} ] Entity []
Status [200/OK] Headers [ cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, content-length: 1437, content-type: application/json;charset=utf-8, date: Fri, 07 Jun 2013 14:59:27 GMT, expires: Tue, 31 Mar 1981 05:00:00 GMT, last-modified: Fri, 07 Jun 2013 14:59:27 GMT, pragma: no-cache, server: tfe, set-cookie: guest_id=v1%3A137061716777715959; Domain=.twitter.com; Path=/; Expires=Sun, 07-Jun-2015 14:59:27 UTC, status: 200 OK, strict-transport-security: max-age=631138519, x-access-level: read, x-frame-options: SAMEORIGIN, x-rate-limit-limit: 15, x-rate-limit-remaining: 14, x-rate-limit-reset: 1370618067, x-transaction: 618e243e3898fff9, x-xss-protection: 1; mode=block ] Entity [[{“trends”:[{“name”:"#18ThingsIWant",“url”:“http://twitter.com/search?q=3D%2318ThingsIWant” …