Questions about GET users/show


I’ve some questions:

  1. is there any way to know if the user blocked the authenticating user?
    I’ve just noticed that I can see the statuses count, without seeing the tweets, but that could also happen if the user is protected or if he has 0 statuses. Am I wrong?

  2. The “lang” value is the language that the user use to view its twitter or is it something ‘guessed’ by parsing his tweets? Or what else?



Use friendships/show to get information on blocking. You can tell if the target is blocking you. If the source_id or source_screen_name is for the authenticated user, then the relationship.source.blocking and relationship.source.blocked_by values will be true or false. Otherwise, they will be null.


Thanks for the reply. My goal is also to minimize the calls to API, but if there are no alternatives I will do what is needed.

What about the nature of the “lang” value, is there any explanation?
Thanks again.


Yes there is an explanation. Did you check the developer documentation?


Thank you very much, I didn’t see it, sorry.
So, correct me if I’m wrong, all the available languages are these: