I have recently noticed discrepancies with responses to the users/show/
id.{json|xml} API call and was not able to find mention of it in this
group or in the API documentation.
What I have noticed is that depending on what user is specified, some
of the fields (everything between <followers_count> and <status> in
the examples below) are missing in the response. I see this issue with
both with the xml and json return formats.
Here is an example of what I am seeing:
** complete response **
curl -u ID:PW
http://twitter.com/users/show/yakkle.xml
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id>10540282</id>
<name>Yakkle</name>
<screen_name>yakkle</screen_name>
<location>New England, USA</location>
<description>Yakkle is a the free, instant collaboration tool.</
description>
<profile_image_url>
http://s3.amazonaws.com/twitter_production/
profile_images/37734742/yakkle64x64_normal.jpg</profile_image_url>
<url>
http://www.yakkle.com</url>
<protected>false</protected>
<followers_count>20</followers_count>
<profile_background_color>9ae4e8</profile_background_color>
<profile_text_color>000000</profile_text_color>
<profile_link_color>0000ff</profile_link_color>
<profile_sidebar_fill_color>888888</profile_sidebar_fill_color>
<profile_sidebar_border_color>20cffe</profile_sidebar_border_color>
<friends_count>15</friends_count>
<created_at>Sun Nov 25 01:15:15 +0000 2007</created_at>
<favourites_count>2</favourites_count>
<utc_offset>-21600</utc_offset>
<time_zone>Central Time (US & Canada)</time_zone>
<profile_background_image_url>
http://s3.amazonaws.com/
twitter_production/profile_background_images/2327338/background.gif</
profile_background_image_url>
<profile_background_tile>false</profile_background_tile>
<following>false</following>
<notifications>false</notifications>
<statuses_count>25</statuses_count>
<status>
<created_at>Fri Jun 20 18:29:18 +0000 2008</created_at>
<id>839717387</id>
<text>@hmross Thanks. We have seen that on some (small portion) of
computers with our client (and others). We will take another look for
you.</text>
<source>web</source>
<truncated>false</truncated>
<in_reply_to_status_id>839065892</in_reply_to_status_id>
<in_reply_to_user_id>14446249</in_reply_to_user_id>
<favorited></favorited>
</status>
</user>
** incomplete response **
curl -u ID:PW
http://twitter.com/users/show/leolaporte.xml
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id>3829151</id>
<name>Leo Laporte</name>
<screen_name>leolaporte</screen_name>
<location>I St </location>
<description>I've experiments to run, there is research to be done,
on the people who are watching TWiT Live.</description>
<profile_image_url>
http://s3.amazonaws.com/twitter_production/
profile_images/52691463/leo65x75_normal.jpg</profile_image_url>
<url>
http://leoville.com</url>
<protected>false</protected>
<followers_count>46618</followers_count>
<status>
<created_at>Wed Jul 09 02:45:09 +0000 2008</created_at>
<id>853367892</id>
<text>Karl Susman - @karlwireless - is working on a Santa Monica
meetup at the 3rd St Apple Store Friday for the iPhone launch.</text>
<source><a href="
http://www.twhirl.org/">twhirl</a></
source>
<truncated>false</truncated>
<in_reply_to_status_id></in_reply_to_status_id>
<in_reply_to_user_id></in_reply_to_user_id>
<favorited></favorited>
</status>
</user>
Thanks in advance for helping to clarify why this is happening,
Kevin