Can't display twitter widget on my website


#1

Where do I have to paste the code? I’ve already tried to put it inside a div, outside, on a blank xhtml, html, html5 and nothing is working, I also tried to include the javascript from the twitter page on my own website. Nothing is working. Please, need some help!!!


#2

Here’s the code


#3

Are you working from a local page or have you uploaded it? I’ve noticed there’s an issue with the CSS for the widget trying to load: “file:///widgets.twimg.com/j/2/widget.css” when I’m previewing pages locally, but once I upload them it works fine.


#4

Hey thanx, I’ve already solved this. It was exactly what you’re suggesting me, as soon as I made a web preview on my server the widget worked like a charm. But now Im having a problem with the dimensions, it doesn’t matter that I change the height on the javascript, it still has the same proportions. Any tip on that?


#5

Just delay the display of the Twitter widget by a few seconds after the login api fires and everything works. I set the widget Div to “display:none” than after a few seconds turn the Twitter DIV to “display:block”.
var n = document.getElementById(‘col1’); // A Search Widget
var o = document.getElementById(‘col2’); // A List Widget
var p = document.getElementById(‘col3’); // A Profile Widget
setTimeout(“n.style.display=‘block’;”, 5000);
setTimeout(“o.style.display=‘block’;”, 10000);
setTimeout(“p.style.display=‘block’;”, 20000);

Crude but it works for me


#6

Only thing I can think of is I have mine set to width: ‘auto’ and I have no problems with the height always changes to what I’ve set.


#7

hi


#8

gfdsgdsfgsdfg


#9