WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twitter feed suddenly not showing! (5 posts)

  1. paa1605
    Member
    Posted 1 year ago #

    Hi guys,

    All of a sudden my blog page has stopped showing the latest tweets in the sidebar. It was working fine up until recently and now i can't understand why it's not showing anything.

    This is the code in the sidebar

    <div class="twitter">
    
    <h2>LATEST TWEETS
    </h2>
    
    <ul id="twitter_update_list">
     </ul>
    
    </div>

    and just before the close of the body tag i have these two lines of code

    <script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
    <script src="http://twitter.com/statuses/user_timeline/boutiquebags.json?callback=twitterCallback2&count=5" type="text/javascript"></script>

    Can anyone see what might be causing this problem? From what i've read this is all the code you need and like i say it was working fine up until recently. The website is boutiquehandbags dot co dot uk.

    Thanks

  2. Shane Gowland
    Member
    Posted 1 year ago #

    What plugin are you using to fetch the Tweets? Or are you using a theme that contains this functionality? In that case, what theme?

  3. paa1605
    Member
    Posted 1 year ago #

    No plugin, just the code i've mentioned in the original post. The theme is one that i made myself.

  4. Shane Gowland
    Member
    Posted 1 year ago #

    It looks like you're using Twitter old API. The URL referenced in the bottom <script> returns

    Sorry, that page does not exist

    Try replacing the URL with the newer API:
    https://api.twitter.com/1/statuses/user_timeline.json?screen_name=boutiquebags&include_rts=1&callback=twitterCallback2

    That actually returns data, but I'm not sure whether it's compatible with the blogger.js file you're using. Worth a shot.

  5. paa1605
    Member
    Posted 1 year ago #

    Thanks Shane, seems to be working perfectly now!

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.