Hi All,
Am using twitter widgets for the first time, Am using social media plugin to display fb,twitter,pininterest,instagram etc…I had problem only with twitter tweets as it was not showing tweets in my website. Then i used twitter widget concept with jquery to get my tweets and its working fie now.
Problem is, am able to see only top 20 tweets.
Below is my js code in html, Please let me know where am doing mistake
var twitterFetcher=function(){
var d=null;return{
fetch:function(a,b){d=b;var c=document.createElement("script");c.type="text/javascript";c.src="http://cdn.syndication.twimg.com/widgets/timelines/"+a+"?&lang=en&callback=twitterFetcher.callback&suppress_response_codes=true&rnd="+Math.random();document.getElementsByTagName("head")[0].appendChild(c)},callback:function(a){var b=document.createElement("div");b.innerHTML=a.body;d(b);}}}();
Below is widget id
twitterFetcher.fetch('418637926914736129', function(html){
var element = document.getElementById('tweets');
element.innerHTML = html.innerHTML;
Html code to display tweets
<body>
<div id="tweets"></div>
</body>
Below is JS used for social media plugin
jquery.social.media.tabs.1.7.1.min.js