Zend Framework: How to get my statuses from twitter

axxl

New Member
I want to show my last 5 or 10 statuses from twitter on my site. For now I am using following code to get my twitter statuses.\[code\]public function getOrganizationsTwitterUpdates(){ $twitter = new Zend_Service_Twitter('myusername', 'mypassword'); $response = $twitter->status->userTimeline(); return $response; }\[/code\]And I have to following response from above code.\[code\]Zend_Rest_Client_Result Object ( [_sxml:protected] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => array ) [status] => Array ( [0] => SimpleXMLElement Object ( [created_at] => Wed Dec 30 11:02:13 +0000 2009 [id] => 7192975030 [text] => This is my 2nd tweet. [source] => web [truncated] => false [in_reply_to_status_id] => SimpleXMLElement Object ( ) [in_reply_to_user_id] => SimpleXMLElement Object ( ) [favorited] => false [in_reply_to_screen_name] => SimpleXMLElement Object ( ) [user] => SimpleXMLElement Object ( [id] => 100469557 [name] => naveed [screen_name] => naveedriksof [location] => SimpleXMLElement Object ( ) [description] => SimpleXMLElement Object ( ) [profile_image_url] => http://s.twimg.com/a/1262113883/images/default_profile_6_normal.png => SimpleXMLElement Object ( ) [pr...one's status on web). I dont want to use RSS.
 
Top