Twitter Api : search users get 220

php
api

#1

Hello I’m trying to make an autocomplete search with twitter api
but i’m getting a 220 code !

Url : https://api.twitter.com/1.1/users/search.json
Request type : GET
Query : q=brow


#2

Are you sure it’s a 220 code? It’s not one listed by Twitter as being in use.


#3

Hi i think its listed well :

public ‘message’ => string ‘Your credentials do not allow access to this resource’ (length=53)
public ‘code’ => int 220

Please help me to by pass this


#4

Is there any solution to this so far?
I have the same problems with the REST API.
I can access the API with commands like
GET https://api.twitter.com/1.1/lists/members.json?list_id=124123&count=500&cursor=-1
but if I send https://api.twitter.com/1.1/users/search.json?q=Twitter I’ll receive this response:

“{“errors”:[{“message”:“Your credentials do not allow access to this resource”,“code”:220}]}”

Thanks in Advance


#5

That query works fine for me - what code are you using? Can you reproduce this using twurl?