Getting a 401 for non-existent users


#1

Although some twitter users are suspended or non-existent I get a 401 error.
For example user screen_name: fabienalonso
It seems like the user doesn’t exists: https://twitter.com/fabienalonso
But when I make a getFollowers or getFriends call, I get 401 error.
For example:
https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=fabienalonso

This user is suspended: https://twitter.com/hakkikochak
But I also get a 401 error.
https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=hakkikochak

Is this normal case? How can I find out the user doesn’t exists or suspended or I’m not authorized to see the ids.
By making a getFollowersIds or getFriendsIds call ??

Or must I make a users/lookup everytime I get a 401 error ? This consumes extra computation and API calls…


#2

Any comments about this?


#3

Anybody knows this issue?


#4

Anybody can comment please?


#5

Same issue for this.
This gives the IDS of rihanna: https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=rihanna

This gives not authorized 401 error.
https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=orhanatacann
But when I check I see that user is deleted:
http://twitter.com/orhanatacann