Getting latest Tweets: APIHome › Forums › Programming › Getting latest Tweets: API Tagged: fetch, tweets, twitter API, usernameThis topic has 0 replies, 1 voice, and was last updated 11 years, 6 months ago by Satish.Viewing 1 post (of 1 total)AuthorPostsJune 18, 2013 at 1:06 pm#3150SatishKeymasterPaste this javascript into your header: <script src="http://twitter.com/statuses/user_timeline/technotip.json?callback=updateTweets" > </script> use forloop or while loop to replace twitter username in above url.updateTweets is a method, that we write to fetch the latest tweets. function updateTweets(tweets) { var tweetsSelection = document.getElementById("tweets"); for(var i=0; i< tweets.length; i++) tweet = tweets[i]; var option = document.createElement("div"); option.innerHTML(tweet.text); } AuthorPostsViewing 1 post (of 1 total)You must be logged in to reply to this topic.Log InUsername: Password: Keep me signed inLogin form protected by Login LockdownLog In