Not sure if it is expected or not (or if the doc is out of sync), but
I would say having the last status included w/ the user object is very
handy.
-Chad

On Wed, Apr 8, 2009 at 11:20 AM, Yusuke <[email protected]> wrote:
>
> Hi,
>
> According to the REST API Doc, an "Extended user information element"
> doesn't contain a <status/> element.
> But actually the API returns a user element with one status element.
> Is it a doc bug?
>
> Here is the trace log grabbed just several minutes ago.
> --------------
> [Thu Apr 09 00:12:41 JST 2009]GET 
> http://twitter.com/account/verify_credentials.xml
> [Thu Apr 09 00:12:41 JST 2009]Response code: 200
> [Thu Apr 09 00:12:41 JST 2009]Response: <?xml version="1.0"
> encoding="UTF-8"?>
> <user>
>  <id>6358482</id>
>  <name>twit4j</name>
>  <screen_name>twit4j</screen_name>
>  <location>location:0.5515412761891139</location>
>  <description></description>
>  <profile_image_url>http://static.twitter.com/images/
> default_profile_normal.png</profile_image_url>
>  <url></url>
>  <protected>false</protected>
>  <followers_count>3</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>e0ff92</profile_sidebar_fill_color>
>  <profile_sidebar_border_color>87bc44</profile_sidebar_border_color>
>  <friends_count>2</friends_count>
>  <created_at>Sun May 27 09:52:09 +0000 2007</created_at>
>  <favourites_count>0</favourites_count>
>  <utc_offset>-32400</utc_offset>
>  <time_zone>Alaska</time_zone>
>  <profile_background_image_url>http://static.twitter.com/images/
> themes/theme1/bg.gif</profile_background_image_url>
>  <profile_background_tile>false</profile_background_tile>
>  <statuses_count>620</statuses_count>
>  <notifications>false</notifications>
>  <following>false</following>
>  <status>
>    <created_at>Mon Apr 06 16:34:02 +0000 2009</created_at>
>    <id>1463787270</id>
>    <text>4/7:id1</text>
>    <source>&lt;a href="http://yusuke.homeip.net/
> twitter4j/"&gt;Twitter4J&lt;/a&gt;</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>false</favorited>
>    <in_reply_to_screen_name></in_reply_to_screen_name>
>  </status>
> </user>
> --------------
>
> Cheers,
> Yusuke

Reply via email to