Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding widget to confluence page

Kevin Smith July 30, 2012

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

0 votes
RianA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 30, 2012

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
TAGS
AUG Leaders

Atlassian Community Events