hey everyone, I've noticed some of users are not using an HTTP transport method, but instead a file stream to read from the API. If you are using a file stream method, like file_get_contents in PHP you will be getting XML load errors whenever the request you make returns with an error. This is because the file stream method returns false rather than the content of the XML when an error is detected.
We strongly recommend using an HTTP transport for talking with the API. This way you can inspect the headers we return to you and also the status code. You also get our <hash> element with the error text in it: I've compared the XML structure to the ones in the API docs and they are still the same. If you are using a library like curl and are still getting the XML load error could you give us an example of the content you are getting back so we can work out why this might be happening. Thanks, Matt On Wed, Jul 7, 2010 at 5:56 AM, Raffi Krikorian <ra...@twitter.com> wrote: > hi all. > > i don't know of any format change - do you have an example we can look at? > > On Wed, Jul 7, 2010 at 2:55 AM, colin....@digital.fco.gov.uk < > colin....@digital.fco.gov.uk> wrote: > >> I'm getting similar problems. With the use of simplexml_load_file, it >> loads other xml fine but not twitters!!! >> >> On Jul 7, 6:55 am, Pete <phousle...@gmail.com> wrote: >> > Did you change the XML format today our application which has worked >> > for a year reading XML data all of the sudden does not function >> > today? Was there a format change without notice? >> > > > > -- > Raffi Krikorian > Twitter Platform Team > http://twitter.com/raffi > -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris