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
[SOLVED] - Using the twitter feed from twitter.com
[SOLVED] - Using the twitter feed from twitter.com
Last edited by evilwavey on Sat Jun 05, 2010 12:56 pm, edited 1 time in total.
Re: Using the twitter feed from twitter.com
I don't get an error when first going to that site but you may want to look at validating the site, and any time you use anything with { } in it it has to have {literal} your code with { } in it {/literal} altho I don't see anything like that in the page source...
Re: Using the twitter feed from twitter.com
I can't get the error back now either, but the literal tags worked a treat! Thanks 
