karthiksharu Posted May 22, 2009 Share Posted May 22, 2009 I just started working with TwitterAPI. For the below code, <?php include_once("twitter.lib.php"); $user = "//myusername"; $pw = "//mypassword"; $twitter = new Twitter($user,$pw); $xml = $twitter->showUser("xml", $user); var_dump($xml); echo $xml; ?> karthiksharu is my user name. var dump outputs - http://twitter.com/users/show.karthiksharu? bool(false) http://twitter.com/users/show.karthiksharu? link doesnt exist. Expected is an xml with tags user id name screen location description profile.. and so on.. Can any one help me with this????? thanks Link to comment https://forums.phpfreaks.com/topic/159278-twitter-api-showuser/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.