Sorry for doublepost and thanks for the answer. I used a lot of different user ids (always the screenname). It´s always the same.
I used this library: http://code.google.com/p/micromvc-php/source/browse/trunk/libraries/twitter_api.php?spec=svn6&r=6 with this code: $options = array( 'id' => 'DAVID_LYNCH', 'type' => 'xml'); require('twitter_api.php'); $twitter_api = new twitter_api($options); $object = $twitter_api->show_user($options); if(!$object) { $object = $twitter_api->error(); } print '<pre>'; print_r($object); print '</pre>'; On 25 Jun., 18:42, Doug Williams <d...@twitter.com> wrote: > Can you include the user_id you are trying to find so we can look into this? > > Also, yes, the data should be in UTF-8. > > Thanks, > Doug > > On Thu, Jun 25, 2009 at 9:32 AM, Germig <i...@exbeerde.de> wrote: > > > Hi. > > > When I get the details from user, there is no problem with json- > > format. But trying with xml, I only get the first index of the array. > > No infos about location, only this: > > > stdClass Object > > ( > > [0] => SimpleXMLElement Object > > ( > > [created_at] => Thu Jun 25 13:28:31 +0000 2009 > > [id] => xxxxxxx > > [text] => blablabla > > [source] => Tweetie > > [truncated] => false > > [in_reply_to_status_id] => SimpleXMLElement Object > > ( > > ) > > > [in_reply_to_user_id] => SimpleXMLElement Object > > ( > > ) > > > [favorited] => false > > [in_reply_to_screen_name] => SimpleXMLElement Object > > ( > > ) > > > ) > > > ) > > > Another question. Normally, xml-type is UTF-8 enoded?