Newbie Twitter Feed Problem

Status
Not open for further replies.

Nugget

New Member
I am creating my personal website and I'm adding a twitter feed to it. I found a widget online to do this and copied the javascript code for it and added it to my html file. When I open the file using my browser the twitter feed works perfectly.
I uploaded the file to my host. However, when I go onto the website the feed doesn't work and nothing appears.
Anyone have any suggestions as to why this is happening?
 

mneylon

Administrator
Staff member
Without seeing what you've done - no
If you could provide a link to a page where you have the Javascript then I *might* be able to help you

In the meantime I'd recommend viewing the source of the page when you're viewing it on your site ie. not locally
See if there are any missing opening / closing tags or any "weird" characters in the code
 

Nugget

New Member
Hi, thanks for the reply.
I've just noticed that when I upload my file to my host (I'm using register365 for now) my code gets changed. It changes in a few places but the part that is affecting my twitter feed is this:

HTML:
<h2 style="display: none;" >Twitter Updates</h2>
<ul id="twitter_update_list" style="list-style-type:square" ></ul>
<a href="http://twitter.com/Nugget89" target="_blank" id="twitter-link"><img src="images/follow_me.png" border="none" align="right" width="100" height="60"  alt="Follow Me" /></a>
This gets changed to this, taking out my <ul> tag.

HTML:
<h2 style="display: none;">Twitter Updates</h2>
<a id="twitter-link" href="http://twitter.com/Nugget89" target="_blank"><img src="Images/follow_me.png" border="none" alt="Follow Me" width="100" height="60" align="right" /></a>
This is the first website I'm trying to put online so I'm probably making a very simple mistake here.
 

barrywolf

New Member
Do you have the javascript code that you added?

At the momemnt you're only showing us the H2 tag - Sub title and a link that says follow me. Neither of these tags are going to have an affect on the twitter feed.

Try posting the whole code.
 

Nugget

New Member
Hi, thanks for the reply.
I've actually already got past this problem I just forgot to come back to this thread and say it.
I changed the files to .php and that fixed it. I'm new to using anything outside html or as3 so I wasn't aware that I had to change them
 
Status
Not open for further replies.
Top