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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.