I have used the twitter widget to display my timeline on a simple webpage. But what I really want to achieve is , whenever I tweet something from twitter ,I want to see it on the webpage I have created without being refreshed. So what I want to do is call the script after every 3secs or so. Please let me know how to do it.
Here's the code for the html page I have done.
<html>
<head>
<title>Twitter Feed Test</title>
</head>
<body>
<p>Testing how to get the the twitter feeds to webpage</p>
<a class="twitter-timeline" href="https://twitter.com/happyman_mayur" data-widget-id="509282432604844032">Tweets by @happyman_mayur</a>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id))
{
js=d.createElement(s);
js.id=id;js.src=p+"://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);}
}(document,"script","twitter-wjs");
</script>
</body>
</html>