This is what I got after doing some research on this topic.
I was able to create alternate url to connect to private tweets in twitter using the site http://freemyfeed.com/.
I have created the below code to get the tweets from twitter.The issue is that i need to refresh the code to get new tweets every 10 minutes.I tried to do that using the code below, but it returns the data for the first time after that its not refreshing automatically.Can some one help me to correct the code.
Appreciate ur help
google.load("feeds", "1");
loadTweet();
setInterval ("loadTweet()", 10000);
function newSlideShow() {
var feed = new google.feeds.Feed("http://freemyfeed.com/feed/[mykey=I removed the key before adding to this message]");
feed.load(function(result) { if (!result.error) {
var container = document.getElementById("feedControl");
//container.value='';
for (var i = 0; i < result.feed.entries.length; i++) {
var entry = result.feed.entries[i];
var attributes = ["title", "link", "publishedDate", "contentSnippet"];
for (var j = 0; j < attributes.length; j++) {
var div = document.createElement("div");
//alert(document.createTextNode(entry[attributes[j]]));
div.appendChild(document.createTextNode(entry[attributes[j]]));
container.appendChild(div);
} } }});
}
function loadTweet(){
google.setOnLoadCallback(newSlideShow);
}