[twitter-dev] Re: XML feed not loading as before - PHP

2010-07-07 Thread colin....@digital.fco.gov.uk
and version 1.. this should work for you instead: http://api.twitter.com/1/statuses/user_timeline/britishabroad.xml?cou... Taylor On Tue, Jul 6, 2010 at 8:18 AM, colin@digital.fco.gov.uk colin@digital.fco.gov.uk wrote: With the following feed/script: $twitter_url = http

[twitter-dev] Re: XML feed not loading as before - PHP

2010-07-07 Thread colin....@digital.fco.gov.uk
...@twitter.com wrote: Hi Colin, You're missing the api subdomain and version 1.. this should work for you instead: http://api.twitter.com/1/statuses/user_timeline/britishabroad.xml?cou... Taylor On Tue, Jul 6, 2010 at 8:18 AM, colin@digital.fco.gov.uk colin@digital.fco.gov.uk wrote

[twitter-dev] XML feed not loading as before - PHP

2010-07-07 Thread colin....@digital.fco.gov.uk
$twitter_url = http://api.twitter.com/1/statuses/user_timeline/ britishabroad.xml; $buffer = file_get_contents($twitter_url); $xml = new SimpleXMLElement($buffer); $status_item = $xml - status; $status = $status_item - text; echo $status; I am getting an error: Fatal error: Uncaught

[twitter-dev] Re: XML format change???

2010-07-07 Thread colin....@digital.fco.gov.uk
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

[twitter-dev] XML feed not loading as before - PHP

2010-07-06 Thread colin....@digital.fco.gov.uk
With the following feed/script: $twitter_url = http://twitter.com/statuses/user_timeline/ britishabroad.xml?count=1; $buffer = file_get_contents($twitter_url); $xml = new SimpleXMLElement($buffer); $status_item = $xml - status; $status = $status_item - text; echo $status; Nothing is being