WordPress.org

Support

Support » Plugins and Hacks » Twitter feed Stopped working

Twitter feed Stopped working

  • Hi, Wondering if someone could be so kind to help me, someone else created a custom javascript titter feed in my header for me and it has stopped working and that person is no longer around, so I need to fix it myself. The website is rideslovenia.com, here is the code, anyone see anything wrong? Thanks!

    <script src=”http://code.jquery.com/jquery-latest.js”></script>
    <script src=”/wp-content/themes/headway/library/media/js/jquery.timeago.js”></script>
    <script>
    $.getJSON(“http://twitter.com/statuses/user_timeline/rideslovenia.json?callback=?”, function(data) {
    $(“#twitter”).html(““+data[0].text + ”
    <span class=’time’> ” + $.timeago(data[0].created_at)+”</span>
    “);
    });
    </script>
    <div id=”twitter”></div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • change the JSON url to this

    http://api.twitter.com/1/statuses/user_timeline.json?screen_name=rideslovenia&callback=?

    *note: Twitter has changed their API and even this fix is only temporary, I believe it will work until March 2013.

    Thank you so much! That worked nicely.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twitter feed Stopped working’ is closed to new replies.