[SOLVED] - Using the twitter feed from twitter.com
Posted: Thu Jun 03, 2010 9:32 pm
Hi I am trying to use the twitterfeed that is given by twitter.com and it is not displaying, plus gives an error until i refresh.
This is the website.
http://villarecc.com/
Sorry if this is already solved elsewhere, but I have had a look already.
I am assuming the javascript does not work in a PHP page, so is there some code changes I need to make or would I have tio use a module instead?
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 6000,
width: 200,
height: 323,
theme: {
shell: {
background: '#000000',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#a67c52'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('thehobbitpub').start();
Thanks
This is the website.
http://villarecc.com/
Sorry if this is already solved elsewhere, but I have had a look already.
I am assuming the javascript does not work in a PHP page, so is there some code changes I need to make or would I have tio use a module instead?
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 6000,
width: 200,
height: 323,
theme: {
shell: {
background: '#000000',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#a67c52'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('thehobbitpub').start();
Thanks