/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // Your twitter username. $username = "TwitterUsername"; $prefix = "<h2>My last Tweet</h2>"; $suffix = ""; $feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&rpp=1"; function parse_feed($feed) { $tweet = $stepTwo[0]; return $tweet; } ?>