Getting Twitter Homeline using Prototype
Welcome back m back with a new awesome tutorial about twitter..today in the morning one of my blogger and E-Friend asked me to create a script using which he can easily implement Twitter hometimeline in his one of website. So a hour ago i started working on it and it comes a strong and easy to implement tutorial for others too so we both decided to put it into my blog too..okay then without wasting your time i am going to show u the codes use these as it they are.. demo.php get_homeline.php
$content=file_get_contents("http://search.twitter.com/search.json?q=from%3A".$_POST['twitteruser']."");
$new=json_decode($content);
echo " "; foreach($new->results as $homelines) { echo "
profile_image_url."'> ".$homelines->text."
"; } echo " ";
here we go but before this you must be having prototype.js with you any ways if you don't want to copy and paste these code you can also...
This comment has been removed by a blog administrator.
ReplyDeletehello jatinder may i know u
ReplyDelete