Hi André,

Looking at your code it looks like you have added the line:
  id : 'twitterdiv'
but forgotten to put the comma after it.
If you add the comma the widget will work.

Matt

You don't need the <div id = "twitterdiv"></div> as the widget will
automatically create that for you.

On Jun 22, 6:25 am, André Lima <azdr3mi...@gmail.com> wrote:
> any suggestion of what I'm doing wrong here??
>
> On 21 jun, 22:00, André Luís Moura Lima <azdr3mi...@gmail.com> wrote:
>
>
>
> > Hello everybody,
> > I'm doing some tests with twitter widget profile...i do everything right on
> > the site,copy the resulting code to my html,but the twitter widget is not
> > shown,it isn't rendering.What can be wrong?for those who can help me,I will
> > post the code here.I guess I'm doing some confusion with some html tags like
> > body,head,html,etc...are they necessary to the code work right?anyway,i hope
> > so,cause this code that I'm posting is,obviously,an example...the real html
> > have head,body,html tags.anyway,here is the code:
> > <div id = "twitterdiv"></div>
> > <script src="http://widgets.twimg.com/j/2/widget.js";></script>
> > <script>
> > new TWTR.Widget({
> >   id : 'twitterdiv'
> >   version: 2,
> >   type: 'profile',
> >   rpp: 4,
> >   interval: 6000,
> >   width: 250,
> >   height: 300,
> >   theme: {
> >     shell: {
> >       background: '#333333',
> >       color: '#ffffff'
> >     },
> >     tweets: {
> >       background: '#000000',
> >       color: '#ffffff',
> >       links: '#4aed05'
> >     }
> >   },
> >   features: {
> >     scrollbar: true,
> >     loop: false,
> >     live: false,
> >     hashtags: true,
> >     timestamp: true,
> >     avatars: false,
> >     behavior: 'all'
> >   }}).render().setUser('andre').start();
>
> > </script>

Reply via email to