[twitter-dev] Re: error with simple xml load file

2009-08-30 Thread chepe263
Hello, i have a question, How use it with xml api format??? See, i'm using the http://twitter.com/statuses/friends_timeline.xml to get the friends timeline for my app but i don't know how use it the data with SimpleXML Please help!! chepe263 On Jul 27, 10:23 pm, jmathai jmat...@gmail.com

[twitter-dev] Re: error with simple xml load file

2009-08-30 Thread Adam Shannon
You need to allow PHP to access 3rd party (external) domains and grab files from them. In your php.ini you should change this: allow_url_fopen = Off To: allow_url_fopen = On Also, if your host allows you to place php.ini files in the directory just put this in a new php.ini file. [PHP]

[twitter-dev] Re: error with simple xml load file

2009-07-28 Thread oscarva
Yes JDG im used youtube api, yelp api, google api, technorati, and more. and all works correctly, I just happened to twitter :( On 27 jul, 22:17, JDG ghil...@gmail.com wrote: does your hosting service allow remote connections to be made? that is, can you use similar code to connect to any

[twitter-dev] Re: error with simple xml load file

2009-07-27 Thread oscarva
Please help :( On 25 jul, 01:05, oscarva osca...@gmail.com wrote: I am tring to do a Api call using simple xml and twitter search API. $rss = simplexml_load_file('http://search.twitter.com/search.atom? q=Google'); foreach ($rss-channel-item as $item){     $title = utf8_decode($item-title);

[twitter-dev] Re: error with simple xml load file

2009-07-27 Thread JDG
does your hosting service allow remote connections to be made? that is, can you use similar code to connect to any other sites? On Sat, Jul 25, 2009 at 00:05, oscarva osca...@gmail.com wrote: I am tring to do a Api call using simple xml and twitter search API. $rss =

[twitter-dev] Re: error with simple xml load file

2009-07-27 Thread jmathai
JDG is probably correct. $ch = curl_init('http://search.twitter.com/search.atom?q=Google'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); $sXml = simplexml_load_string($result); var_dump($sXml); On Jul 27, 4:45 pm, oscarva osca...@gmail.com wrote: Please help :( On