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…