Thursday, 14 April 2011

Get user Data from Twitter

    $xml = simplexml_load_file("http://twitter.com/users/show/USERNAME.xml");

                echo $xml->getName() . "<br />";
               
                foreach($xml->children() as $child)
                  {
                  echo $child->getName() . ": " . $child . "<br />";
                  }

No comments:

Post a Comment