WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Tools
[resolved] Sidebar tweets stopped working 3 weeks ago (9 posts)

  1. pod75
    Member
    Posted 1 year ago #

    Hi,

    I'm using version 2.4 of the plugin.
    I have this code in my theme:

    <?php aktt_sidebar_tweets(); ?>

    It has stopped to update 3 weeks ago.
    Anyone can help me understand why and fix this?
    Manual update does not work also.

    Thanks

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

  2. Duck Whistle
    Member
    Posted 1 year ago #

    I have the same problem, no new tweets have appeared for 3 weeks. I'm using the widget though, with version 2.4 of the plugin.

    I've tried clearing my caches and pressing the two buttons to update and reset tweet checking, to no avail.

    If anyone else finds a solution to this, I'd be most grateful; if I find one, I'll post it here.

    Thanks,
    Phil, on behalf of http://tellusanotherone.org

  3. Alex King
    Member
    Plugin Author

    Posted 1 year ago #

    Version 2.4 won't work anymore, Twitter changed their API.

  4. pod75
    Member
    Posted 1 year ago #

    I fixed this by replacing the following lines in twitter-tools.php :

    define('AKTT_API_POST_STATUS', 'http://twitter.com/statuses/update.json');
    define('AKTT_API_USER_TIMELINE', 'http://twitter.com/statuses/user_timeline.json');
    define('AKTT_API_STATUS_SHOW', 'http://twitter.com/statuses/show/###ID###.json');
    define('AKTT_PROFILE_URL', 'http://twitter.com/###USERNAME###');
    define('AKTT_STATUS_URL', 'http://twitter.com/###USERNAME###/statuses/###STATUS###');
    define('AKTT_HASHTAG_URL', 'http://search.twitter.com/search?q=###HASHTAG###');

    by this :

    define('AKTT_API_POST_STATUS', 'https://api.twitter.com/1.1/statuses/update.json');
    define('AKTT_API_USER_TIMELINE', 'https://api.twitter.com/1.1/statuses/user_timeline.json');
    define('AKTT_API_STATUS_SHOW', 'https://api.twitter.com/1.1/statuses/show.json?id=###ID###');
    define('AKTT_PROFILE_URL', 'http://twitter.com/###USERNAME###');
    define('AKTT_STATUS_URL', 'http://twitter.com/###USERNAME###/statuses/###STATUS###');
    define('AKTT_HASHTAG_URL', 'http://search.twitter.com/search?q=###HASHTAG###');
  5. Alex King
    Member
    Plugin Author

    Posted 1 year ago #

    Due to the announced changes in the 1.1 API that's not going to be a long-term fix.

  6. Duck Whistle
    Member
    Posted 1 year ago #

    Thanks pod75, that fixed it for now, until I have the time to update to version 3 and cope with all its changes.

  7. Vakantie Ameland
    Member
    Posted 1 year ago #

    Am I missing something here? The code above can not be found in the twitter-tools.php file, it's the latest version. ????

  8. Duck Whistle
    Member
    Posted 1 year ago #

    Vakantie, the code that pod75 quoted was found in Twitter Tools version 2.4, not the latest version.

  9. TheTree
    Member
    Posted 1 year ago #

    Came here looking for this info. Implemented it, bing bam boom. Works like a charm. Thanks to pod75 for the hook-up.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic