How to display tweets from Twitter on your website?

If you tweet a lot on Twitter and wish to display them on your website or blog then you can do that easily with the following code <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, “http://twitter.com/statuses/friends_timeline.xml”); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, “<username>:<password>”); $str = curl_exec($ch); curl_close($ch); echo $str; ?> Once you get your tweets … Read moreHow to display tweets from Twitter on your website?