Hi Andre

this works for me:

<script src='http://widgets.twimg.com/j/2/widget.js'></script>
<script>
 new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 10,
  interval: 6000,
  width: 200,
  height: 300,
  theme: {
   shell: {
    background: '#f3f3f3',
    color: '#425e6a'
   },
   tweets: {
    background: '#f3f3f3',
    color: '#425e6a',
    links: '#0099FF'
   }
  },
  features: {
   scrollbar: false,
   loop: false,
   live: false,
   hashtags: true,
   timestamp: true,
   avatars: false,
   behavior: 'all'
  }
}).render().setUser('andre').start();
</script>


On Tue, Jun 22, 2010 at 4:39 PM, André Luís Moura Lima <azdr3mi...@gmail.com
> wrote:

> Matt,
> I added the comma,but the widget is not rendering at all.What's happening
> here??
>
>
>
> 2010/6/22 themattharris <thematthar...@twitter.com>
>
> 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>
>>
>
>


-- 
Peter Denton
Co-Founder, Product Marketing
www.mombo.com
cell: (206) 427-3866
twitter @Mombo_movies
twitter - personal: @petermdenton

Reply via email to