WordPress.org

Ready to get started?Download WordPress

Forums

Reliable Twitter
Stopped working? Here's a fix... (7 posts)

  1. crdunst
    Member
    Posted 1 year ago #

    Although this plugin will stop working when twitter turn off RSS support completely, it looks like twitter have changed something in the interim, and this plugin has stopped working.

    If you want a quick fix for now, edit the plugin file 'reliable-twitter.js', on line 19, change the rss url in the brackets to:

    ("http://api.twitter.com/1/statuses/user_timeline.rss?user_id=" + accountid)

    http://wordpress.org/extend/plugins/reliable-twitter/

  2. Daan Kortenbach
    Member
    Posted 1 year ago #

    Tnx :)

    FYI: I also had to paste that link + acountid into the Custom RSS field in the widget.

  3. zactoff
    Member
    Posted 1 year ago #

    Tried replacing that line, doesn't work for me.

  4. crdunst
    Member
    Posted 1 year ago #

    An example where I have done this is still working, so perhaps look at some of the other solutions on here - is the twitter account unlocked?

    It may also be worth trying changing http to https in that url - I remember from another plugin that this can help, or it's specific to different twitter accounts or something.

    I've given up with plugins and twitter tbh, I've not found one yet that is reliable and doesn't break after a short time. I've used this recently http://tweet.seaofclouds.com/ - it's just as easy to add it in your templates manually than installing/tweaking different plugins.

    Good luck :)

  5. zactoff
    Member
    Posted 1 year ago #

    Aha, I changed the user name to user ID and now it seems ok.

    Thanks for the reply, and the tip about seaofclouds, that looks cool, totally agree about twitter plugins.

    Cheers!

  6. theresavs
    Member
    Posted 1 year ago #

    None of those solutions worked for me, but knowing that the feed works using user names instead of the ID, I used this instead:
    ("http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=" + accountid)

    Then I replaced the user ID with the user name instead.

  7. crdunst
    Member
    Posted 1 year ago #

    Hi theresavs, thanks for the info. I always found RSS easy to work with too, but twitter are dropping support for RSS in favour of json.

    A little snippet such as the following would get the latest twitter post using their json format:

    <?php
    $twinfo = json_decode(file_get_contents('http://api.twitter.com/1/users/lookup.json?screen_name=accountnamehere'));
    ?>
    <p><?php echo $twinfo[0]->status->text; ?></p>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.