/ Published in: PHP

To find your numerical Twitter ID, login to Twitter and click on your RSS feed (bottom of the page). The URL will look something like http://twitter.com/statuses/friends_timeline/12345678.rss. Your ID will be the 12345678.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function get_status($twitter_id, $hyperlinks = true) { if( $hyperlinks ) $status = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "<a href=\"\\0\">\\0</a>", $status); return($status); } ?>
URL: http://abeautifulsite.net/notebook/75
Comments
