I am trying to retrieve someone's profile, but it throws me a 401. I am pretty puzzled, since it works for quite a few people, but fails for others
401 Not Authorized error: Unauthorized:
This leads to a very poor UX. Any ideas?
I am trying to retrieve someone's profile, but it throws me a 401. I am pretty puzzled, since it works for quite a few people, but fails for others
401 Not Authorized error: Unauthorized:
This leads to a very poor UX. Any ideas?
I've encountered this in the past because the REST API (you don't specify which you're using) returns profiles that are protected in its results. If you simply iterate through them you might end up doing an operation that you can't do without being allowed to see their protected tweets/profile.