Adding widget to confluence page

Hi All,

When I used the follwing code for widget I'm struck with some errors.

<script src="[http://widgets.twimg.com/j/2/widget.js"></script|http://widgets.twimg.com/j/2/widget.js"></script]>

<script>
new TWTR.Widget({
	version: 4,
	type: 'profile',
	rpp: 6,
	interval: 4000,
	width: 200,
	height: 200,
	theme: {
		shell: {
		background: '#3bb5ce',
		color: '#ffffff'
			},
		tweets: {
		background: '#ffffff',
		color: '#444444',
		links: '#0000a0'
			}
		},
 features: {
	scrollbar: true,
	loop: false,
	live: true,
	hashtags: true,
	timestamp: true,
	avatars: false,
	behavior: 'all'
	}
}).render().setUser('user1').start()
</script>

The Result preview is like this,

</script>

Please help me on this.

Thanks...

1 answer

Hi Kevin,

I think you could achieve that using html macro. You might need to enable the module from Universal Plugin Manager.

Cheers.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

50 views 2 4
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you