twitter not showing

Used to have a twitter feed on my home page that work but it died a few months back and I'm only getting to look at it now.

I have copied a working twitter feed from another site onto the Omeka page but it does not work either. So then I copied the original code from the omeka page into a blank html page and it works ok.

Any ideas!

Mike

Could you post up the code you are using?

Hi Patrick,

Code is as follows:

Tweets by @INCOREinfo
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Thanks Mike.

It looks like something is missing, or got reformatted on the page. If you put the code in backtick, that might show everything.

Patrick,

Sorry about that, here it is in backticks:

<a class="twitter-timeline" href="https://twitter.com/INCOREinfo" data-widget-id="449494515871543297">Tweets by @INCOREinfo</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Thanks
Mike.

Sorry for the delay.

I tried out that code in my site, and it seemed to work okay.

Could you give some more info about:

What theme you are using?

Whether the plain link that says "Tweets by @INCOREinfo" appears on the page?

Any other details about what's not working?

Thanks

Hi,
Long time and only getting back to this now. Still a problem:

Using own theme.
Tweets by @INCOREinfo" appears on the page.

I have even used it on a simple page and it does not work. You can view it on http://accounts.ulster.ac.uk/repo and view the source.

Cheers Mike.

Any ideas on this one.... Anyone?

Regards
MIke

If you look at the Javascript console on your page you'll see that there are several errors happening, one of which is coming from the Twitter code.

Uncaught TypeError: Cannot set property '[object Array]'

It looks like this is probably being caused by your use of the Prototype javascript library in your theme, which is changing something that Twitter's code depends on. If you don't need Prototype, getting rid of it should fix the issue. If you do, you may be able to just update it to a newer version, as yours appears to be very old.

Just updated it... Brilliant... I owe you a pint of Guinness or two!

Warm regards
Mike.